Skip to content

Commit 63c7e34

Browse files
committed
docs(security): clarify fetch metadata method wording
Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>
1 parent 22087e1 commit 63c7e34

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

user_guide_src/source/libraries/security.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ this behavior in **app/Config/Security.php**:
105105

106106
.. literalinclude:: security/011.php
107107

108-
When it is enabled, unsafe requests with ``Sec-Fetch-Site: same-origin`` are allowed without a token.
108+
When it is enabled, requests using unsafe HTTP methods with ``Sec-Fetch-Site: same-origin`` are allowed
109+
without a token.
109110
Requests with ``Sec-Fetch-Site: cross-site`` are rejected. Requests with a missing ``Sec-Fetch-Site`` header,
110111
``Sec-Fetch-Site: none``, or an unknown value fall back to token verification. This keeps protection working
111112
for browsers or clients that do not send Fetch Metadata headers. Requests with ``Sec-Fetch-Site: same-site``

0 commit comments

Comments
 (0)