There was an error while loading. Please reload this page.
1 parent 22087e1 commit 63c7e34Copy full SHA for 63c7e34
1 file changed
user_guide_src/source/libraries/security.rst
@@ -105,7 +105,8 @@ this behavior in **app/Config/Security.php**:
105
106
.. literalinclude:: security/011.php
107
108
-When it is enabled, unsafe requests with ``Sec-Fetch-Site: same-origin`` are allowed without a token.
+When it is enabled, requests using unsafe HTTP methods with ``Sec-Fetch-Site: same-origin`` are allowed
109
+without a token.
110
Requests with ``Sec-Fetch-Site: cross-site`` are rejected. Requests with a missing ``Sec-Fetch-Site`` header,
111
``Sec-Fetch-Site: none``, or an unknown value fall back to token verification. This keeps protection working
112
for browsers or clients that do not send Fetch Metadata headers. Requests with ``Sec-Fetch-Site: same-site``
0 commit comments