on master help sign in
Revert UrlMap changes from #325
commit6506cf001a15d5b54448395f15402cdcc625e3d5 authorMichael Snoyman <michael@snoyman.com> dateThu 15 Jan 2015, 08:47 (12 years ago) parent0b2aae6
3 files changed+2−6
wai-extra/ChangeLog.md−4 wai-extra/Network/Wai/UrlMap.hs+1−1 wai-extra/wai-extra.cabal+1−1
wai-extra/ChangeLog.md−4
@@ -1,7 +1,3 @@
1−## 3.0.4.2
2−
3−* `UrlMap`: do not modify `rawPathInfo`, see [#325](https://github.com/yesodweb/wai/issues/325)
4−
51## 3.0.4.1
62
73Fix compilation failure on Windows [#321](https://github.com/yesodweb/wai/issues/321)
wai-extra/Network/Wai/UrlMap.hs+1−1
@@ -88,7 +88,7 @@ instance ToApplication UrlMap where
8888 case try (pathInfo req) (unUrlMap urlMap) of
8989 Just (newPath, app) ->
9090 app (req { pathInfo = newPath
91− --, rawPathInfo = makeRaw newPath
91+ , rawPathInfo = makeRaw newPath
9292 }) sendResponse
9393 Nothing ->
9494 sendResponse $ responseLBS
wai-extra/wai-extra.cabal+1−1
@@ -1,5 +1,5 @@
11Name: wai-extra
2−Version: 3.0.4.2
2+Version: 3.0.4.1
33Synopsis: Provides some basic WAI handlers and middleware.
44description: API docs and the README are available at <http://www.stackage.org/package/wai-extra>.
55License: MIT