Revert UrlMap changes from #325

This commit is contained in:
Michael Snoyman 2015-01-15 08:47:40 +02:00
parent 0b2aae6e13
commit 6506cf001a
3 changed files with 2 additions and 6 deletions

View File

@ -1,7 +1,3 @@
## 3.0.4.2
* `UrlMap`: do not modify `rawPathInfo`, see [#325](https://github.com/yesodweb/wai/issues/325)
## 3.0.4.1
Fix compilation failure on Windows [#321](https://github.com/yesodweb/wai/issues/321)

View File

@ -88,7 +88,7 @@ instance ToApplication UrlMap where
case try (pathInfo req) (unUrlMap urlMap) of
Just (newPath, app) ->
app (req { pathInfo = newPath
--, rawPathInfo = makeRaw newPath
, rawPathInfo = makeRaw newPath
}) sendResponse
Nothing ->
sendResponse $ responseLBS

View File

@ -1,5 +1,5 @@
Name: wai-extra
Version: 3.0.4.2
Version: 3.0.4.1
Synopsis: Provides some basic WAI handlers and middleware.
description: API docs and the README are available at <http://www.stackage.org/package/wai-extra>.
License: MIT