We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 455b716 + 1336c08 commit 73d748dCopy full SHA for 73d748d
1 file changed
user_guide_src/source/outgoing/response.rst
@@ -140,6 +140,13 @@ visit the following sites:
140
Turning CSP On
141
--------------
142
143
+.. important:: The :ref:`Debug Toolbar <the-debug-toolbar>` may use Kint, which
144
+ outputs inline scripts. Therefore, when CSP is turned on, CSP nonce is
145
+ automatically output for the Debug Toolbar. However, if you are not using
146
+ CSP nonce, this will change the CSP header to something you do not intend,
147
+ and it will behave differently than in production; if you want to verify CSP
148
+ behavior, turn off the Debug Toolbar.
149
+
150
By default, support for this is off. To enable support in your application, edit the ``CSPEnabled`` value in
151
**app/Config/App.php**:
152
0 commit comments