Skip to content

Commit fe25210

Browse files
committed
Merge branch '5.1'
* 5.1: Add SameSite=None documentation
2 parents 738ed69 + 8ed3a05 commit fe25210

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

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

0 commit comments

Comments
 (0)