packages feed

wai-app-file-cgi 3.0.3 → 3.0.4

raw patch · 3 files changed

+7/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Network/Wai/Application/Classic/File.hs view
@@ -182,7 +182,9 @@  redirectURL :: Request -> ByteString redirectURL req = BS.concat [-    "http://"+  -- Scheme must not be included because of no way to tell+  -- http or https.+    "//"   -- Host includes ":<port>" if it is not 80.   , host   , rawPathInfo req
Network/Wai/Application/Classic/Redirect.hs view
@@ -19,6 +19,8 @@     path = fromByteString $ rawPathInfo req     src = redirectSrc route     dst = redirectDst route-    rurl = "http://" `append` pathByteString (dst </> (path <\> src))+    -- Scheme must not be included because of no way to tell+    -- http or https.+    rurl = "//" `append` pathByteString (dst </> (path <\> src))     hdr = locationHeader rurl     status = movedPermanently301
wai-app-file-cgi.cabal view
@@ -1,5 +1,5 @@ Name:                   wai-app-file-cgi-Version:                3.0.3+Version:                3.0.4 Author:                 Kazu Yamamoto <kazu@iij.ad.jp> Maintainer:             Kazu Yamamoto <kazu@iij.ad.jp> License:                BSD3