on master help sign in
Minor future-proof changes
commit6f405b7d82356fc1462741691bcbb8890b8ffaac authorMichael Snoyman <michael@snoyman.com> dateSun 25 Apr 2010, 11:03 (16 years ago) parenta5f81aa
2 files changed+4−4
Network/Wai/Handler/CGI.hs+1−1 wai-extra.cabal+3−3
Network/Wai/Handler/CGI.hs+1−1
@@ -98,5 +98,5 @@ cleanupVarName ('H':'T':'T':'P':'_':a:as) =
9898 helper' [] = []
9999cleanupVarName "CONTENT_TYPE" = ReqContentType
100100cleanupVarName "CONTENT_LENGTH" = ReqContentLength
101−cleanupVarName "SCRIPT_NAME" = RequestHeader $ B.pack "CGI-Script-Name"
101+cleanupVarName "SCRIPT_NAME" = requestHeaderFromBS $ B.pack "CGI-Script-Name"
102102cleanupVarName x = requestHeaderFromBS $ B.pack x -- FIXME remove?
wai-extra.cabal+3−3
@@ -1,5 +1,5 @@
11Name: wai-extra
2−Version: 0.0.0.1
2+Version: 0.0.0.2
33Synopsis: Provides some basic WAI handlers and middleware.
44Description: The goal here is to provide common features without many dependencies.
55License: BSD3
@@ -15,9 +15,9 @@ Stability: Stable
1515Library
1616 Build-Depends: base >= 3 && < 5,
1717 bytestring >= 0.9 && < 0.10,
18− wai >= 0.0.0 && < 0.1,
18+ wai >= 0.0.0 && < 0.3,
1919 split >= 0.1.2 && < 0.2,
20− web-encodings >= 0.2.3 && < 0.5,
20+ web-encodings >= 0.2.3 && < 0.3,
2121 old-locale >= 1.0 && < 1.1,
2222 time >= 1.1.4 && < 1.2,
2323 clientsession >= 0.2.0 && < 0.3,