├── .gitignore ├── .travis.yml ├── HISTORY.md ├── LICENSE.txt ├── README.md ├── shard.yml ├── spec ├── dnsprefetchcontrolhandler_spec.cr ├── frameguardhandler_spec.cr ├── internetexplorernoopenhandler_spec.cr ├── nosniffhandler_spec.cr ├── spec_helper.cr ├── stricttransportsecurityhandler_spec.cr └── xssfilterhandler_spec.cr └── src ├── helmet.cr └── helmet ├── dnsprefetchcontrolhandler.cr ├── frameguardhandler.cr ├── internetexplorernoopenhandler.cr ├── nosniffhandler.cr ├── stricttransportsecurityhandler.cr ├── version.cr └── xssfilterhandler.cr /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: crystal 2 | -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/HISTORY.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/README.md -------------------------------------------------------------------------------- /shard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/shard.yml -------------------------------------------------------------------------------- /spec/dnsprefetchcontrolhandler_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/spec/dnsprefetchcontrolhandler_spec.cr -------------------------------------------------------------------------------- /spec/frameguardhandler_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/spec/frameguardhandler_spec.cr -------------------------------------------------------------------------------- /spec/internetexplorernoopenhandler_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/spec/internetexplorernoopenhandler_spec.cr -------------------------------------------------------------------------------- /spec/nosniffhandler_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/spec/nosniffhandler_spec.cr -------------------------------------------------------------------------------- /spec/spec_helper.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/spec/spec_helper.cr -------------------------------------------------------------------------------- /spec/stricttransportsecurityhandler_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/spec/stricttransportsecurityhandler_spec.cr -------------------------------------------------------------------------------- /spec/xssfilterhandler_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/spec/xssfilterhandler_spec.cr -------------------------------------------------------------------------------- /src/helmet.cr: -------------------------------------------------------------------------------- 1 | require "./helmet/*" 2 | -------------------------------------------------------------------------------- /src/helmet/dnsprefetchcontrolhandler.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/src/helmet/dnsprefetchcontrolhandler.cr -------------------------------------------------------------------------------- /src/helmet/frameguardhandler.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/src/helmet/frameguardhandler.cr -------------------------------------------------------------------------------- /src/helmet/internetexplorernoopenhandler.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/src/helmet/internetexplorernoopenhandler.cr -------------------------------------------------------------------------------- /src/helmet/nosniffhandler.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/src/helmet/nosniffhandler.cr -------------------------------------------------------------------------------- /src/helmet/stricttransportsecurityhandler.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/src/helmet/stricttransportsecurityhandler.cr -------------------------------------------------------------------------------- /src/helmet/version.cr: -------------------------------------------------------------------------------- 1 | module Helmet 2 | VERSION = "0.2.1" 3 | end 4 | -------------------------------------------------------------------------------- /src/helmet/xssfilterhandler.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/EvanHahn/crystal-helmet/HEAD/src/helmet/xssfilterhandler.cr --------------------------------------------------------------------------------