Commit Graph

8 Commits

Author SHA1 Message Date
mutantmonkey bad7d2666e Switch to Referrer-Policy header (#149)
Use of the Content-Security-Policy header to specify a referrer policy
was deprecated in favor of a [new
header](fc55d917be).
This change changes the existing referrer policy directives to use this
header and adds corresponding config options/command line flags.
2019-01-08 11:56:09 -08:00
andreimarcu ef13181a23 Adjust the csp_test to use the new mux 2015-10-10 11:17:38 -04:00
andreimarcu 639d519712 Configurable maximum upload file size. Fixes #35 2015-10-08 01:38:50 -04:00
andreimarcu 9640e2c7ce Tests + fixes 2015-10-07 03:00:03 -04:00
andreimarcu cb8b8800ba Cleanup vim artifacts 2015-10-04 18:24:13 -04:00
mutantmonkey b96ee60c4c Revert "add X-Content-Type-Options: nosniff"
This reverts commit 71d5f51ae6.
2015-10-04 15:21:27 -07:00
mutantmonkey 71d5f51ae6 add X-Content-Type-Options: nosniff 2015-10-04 15:18:22 -07:00
mutantmonkey 5e7e96af01 add support for some security headers
This commit adds support for Content-Security-Policy and
X-Frame-Options using the ContentSecurityPolicy middleware.
2015-10-04 14:58:00 -07:00