snap 0.8.0 → 0.8.0.1
raw patch · 2 files changed
+4/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- snap.cabal +3/−2
- src/Snap/Snaplet/Internal/Types.hs +1/−2
snap.cabal view
@@ -1,5 +1,5 @@ name: snap-version: 0.8.0+version: 0.8.0.1 synopsis: Snap: A Haskell Web Framework: project starter executable and glue code library description: Snap Framework project starter executable and glue code library license: BSD3@@ -122,7 +122,8 @@ cpp-options: -DHINT_ENABLED build-depends:- hint >= 0.3.3.1 && < 0.4+ hint >= 0.3.3.1 && < 0.4,+ old-time >= 1.0 && < 1.2 if !os(windows) build-depends:
src/Snap/Snaplet/Internal/Types.hs view
@@ -286,8 +286,7 @@ writeText msg writeText $ "Site successfully reloaded.\n" failIfNotLocal m = do- -- TODO/FIXME: grave error here; this code needs to check if we're- -- behind a proxy.+ -- FIXME: this moves to auth once control-panel is done rip <- liftM rqRemoteAddr getRequest if not $ elem rip [ "127.0.0.1" , "localhost"