Cabal-Version: >= 1.10 Name: yesod-middleware-csp Version: 1.0.0 Author: Jezen Thomas Maintainer: Jezen Thomas License: MIT License-File: LICENSE Build-Type: Simple Description: Deals with CSP without disabling it. This is done by overriding the default yesod provided addScript functionalities and adding a nonce to the tag, and the right headers to the request. Extra-Source-Files: README.md Category: Web, Yesod Synopsis: A middleware for building CSP headers on the fly Library Default-Language: Haskell2010 HS-Source-Dirs: src GHC-Options: -Wall Default-Extensions: NoImplicitPrelude Exposed-Modules: Yesod.Middleware.CSP Build-Depends: base >= 4 && < 5 , base64-bytestring , bytestring >=0.9 && <0.11 , classy-prelude >=0.10.2 , conduit , containers , directory , filepath , http-client , network-uri , template-haskell , text , time , uuid , yesod >= 1.6.0 , yesod-core >= 1.6.15 , yesod-static >= 1.6 && <1.7 Test-Suite spec Type: exitcode-stdio-1.0 Default-Language: Haskell2010 Hs-Source-Dirs: src , test Ghc-Options: -Wall Default-Extensions: NoImplicitPrelude Main-Is: Spec.hs Build-Depends: base , base64-bytestring , bytestring >=0.9 && <0.11 , case-insensitive , classy-prelude >=0.10.2 , classy-prelude-yesod >= 1.1 , conduit , containers , directory , fast-logger , filepath , hspec , http-types , monad-logger , network-uri , template-haskell , text , uuid , wai-extra >=3.0 , yesod , yesod-core >= 1.6.15 && < 1.7 , yesod-static >=1.6 && <1.7 , yesod-test Other-Modules: ExampleApp TestImport Yesod.Middleware.CSP Yesod.Middleware.CSPSpec