on master help sign in
Temporarily roll back rawPathInfo change in UrlMap
commit3d99b586a07e96dd81f97d880dce3f4d166ff88a authorMichael Snoyman <michael@snoyman.com> dateWed 14 Jan 2015, 21:51 (12 years ago) parente2b43d3
1 file changed+3−1
wai-extra/Network/Wai/UrlMap.hs+3−1
wai-extra/Network/Wai/UrlMap.hs+3−1
@@ -88,7 +88,9 @@ 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+ -- FIXME decide if this should be left or not. See:
92+ -- https://github.com/yesodweb/wai/issues/325#issuecomment-69971560
93+ , rawPathInfo = makeRaw newPath
9294 }) sendResponse
9395 Nothing ->
9496 sendResponse $ responseLBS