Skip to content

Commit 6a1d6f5

Browse files
committed
minor #14024 Add SameSite=None documentation (Matts)
This PR was submitted for the master branch but it was merged into the 4.4 branch instead. Discussion ---------- Add SameSite=None documentation <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Fixes #14023 Commits ------- 9d665a6 Add SameSite=None documentation
2 parents d3694bd + 9d665a6 commit 6a1d6f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reference/configuration/framework.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,6 +1346,10 @@ The possible values for this option are:
13461346

13471347
* ``null``, use it to disable this protection. Same behavior as in older Symfony
13481348
versions.
1349+
* ``'none'`` (or the ``Cookie::SAMESITE_NONE`` constant), use it to allow
1350+
sending of cookies when the HTTP request originated from a different domain
1351+
(Previously this was the default behavior of null, but in newer browsers 'lax'
1352+
would be applied when the header has not been set)
13491353
* ``'strict'`` (or the ``Cookie::SAMESITE_STRICT`` constant), use it to never
13501354
send any cookie when the HTTP request is not originated from the same domain.
13511355
* ``'lax'`` (or the ``Cookie::SAMESITE_LAX`` constant), use it to allow sending

0 commit comments

Comments
 (0)