mirror of
https://github.com/typeable/wai.git
synced 2024-12-28 16:46:28 +03:00
Revert UrlMap changes from #325
This commit is contained in:
parent
0b2aae6e13
commit
6506cf001a
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user