summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscratchi <scratchi@bsdrex.local>2019-01-13 16:38:07 -0500
committerscratchi <scratchi@bsdrex.local>2019-01-13 16:38:07 -0500
commit8f13c2d318c0156ce6ebf5d1a552de8ad216bf86 (patch)
treedca03d54d63bf7928b7115d9e747ca4069ddbeb9
parente10b984e532bb882a00d3f353e775621019606b6 (diff)
downloadcherrypy-git-8f13c2d318c0156ce6ebf5d1a552de8ad216bf86.tar.gz
fixed typo for http CSP header in Advanced, Securing your server documentation
-rw-r--r--docs/advanced.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/advanced.rst b/docs/advanced.rst
index 41f8cef6..97a5892a 100644
--- a/docs/advanced.rst
+++ b/docs/advanced.rst
@@ -405,7 +405,7 @@ and wrap your entire CherryPy application with it:
headers = cherrypy.response.headers
headers['X-Frame-Options'] = 'DENY'
headers['X-XSS-Protection'] = '1; mode=block'
- headers['Content-Security-Policy'] = "default-src='self'"
+ headers['Content-Security-Policy'] = "default-src 'self';"
.. note::