packages feed

wai-frontend-monadcgi 3.0.0.2 → 3.0.0.3

raw patch · 3 files changed

+9/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+## 3.0.0.3++* wai-frontend-monadcgi does not drop '?' in query string [#590](https://github.com/yesodweb/wai/issues/590)+ ## 3.0.0.2  * Support for wai 3.2
Network/Wai/Frontend/MonadCGI.hs view
@@ -64,5 +64,8 @@ getCgiVars e =     [ ("PATH_INFO", S8.unpack $ rawPathInfo e)     , ("REQUEST_METHOD", show $ requestMethod e)-    , ("QUERY_STRING", S8.unpack $ rawQueryString e)+    , ("QUERY_STRING",+        case S8.unpack $ rawQueryString e of+          '?':rest -> rest+          x -> x)     ]
wai-frontend-monadcgi.cabal view
@@ -1,5 +1,5 @@ name:            wai-frontend-monadcgi-version:         3.0.0.2+version:         3.0.0.3 license:         MIT license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>