playframework/playframework — pull request #2231 by bbarkley (2014-01-07 00:09:07+00:00)
Title: Fix onHandlerNotFound not receiving requests modified by upstream filter...

The onRequestReceived implementation was always passing the original RequestHeader to onHandlerNotFound, and ignoring the value passed in. If any filters had been applied that modified the request and passed it along the chain (e.g. making a copy and injecting additional headers/cookies) those changes weren't visible to the 404 handler.