We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80bf603 commit ffdf455Copy full SHA for ffdf455
docs/configuration.rst
@@ -145,7 +145,11 @@ These settings affect the policy in the header. The defaults are in *italics*.
145
``CSP_INCLUDE_NONCE_IN``
146
Include dynamically generated nonce in all listed directives.
147
A ``tuple`` or ``list``, e.g.: ``CSP_INCLUDE_NONCE_IN = ['script-src']``
148
- will add ``'nonce-<b64-value>'`` to the ``script-src`` directive. *None*
+ will add ``'nonce-<b64-value>'`` to the ``script-src`` directive.
149
+ *['default-src']*
150
+
151
+ Note: The nonce value will only be included if ``request.cps_nonce``
152
+ is accessed during the request/response cycle.
153
154
155
Changing the Policy
0 commit comments