Skip to content

Commit 8ed3a05

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Add SameSite=None documentation
2 parents 9cdf9d9 + a2f5208 commit 8ed3a05

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
@@ -1315,6 +1315,10 @@ The possible values for this option are:
13151315

13161316
* ``null``, use it to disable this protection. Same behavior as in older Symfony
13171317
versions.
1318+
* ``'none'`` (or the ``Cookie::SAMESITE_NONE`` constant), use it to allow
1319+
sending of cookies when the HTTP request originated from a different domain
1320+
(previously this was the default behavior of null, but in newer browsers ``'lax'``
1321+
would be applied when the header has not been set)
13181322
* ``'strict'`` (or the ``Cookie::SAMESITE_STRICT`` constant), use it to never
13191323
send any cookie when the HTTP request is not originated from the same domain.
13201324
* ``'lax'`` (or the ``Cookie::SAMESITE_LAX`` constant), use it to allow sending

0 commit comments

Comments
 (0)