Skip to content

Updated the default values of some cookie config options #12049

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 30, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ to the cookie specification.
cookie_samesite
...............

**type**: ``string`` or ``null`` **default**: ``null``
**type**: ``string`` or ``null`` **default**: ``'lax'``

It controls the way cookies are sent when the HTTP request was not originated
from the same domain the cookies are associated to. Setting this option is
Expand Down Expand Up @@ -1271,10 +1271,10 @@ The possible values for this option are:
cookie_secure
.............

**type**: ``boolean`` or ``string`` **default**: ``false``
**type**: ``boolean`` or ``null`` **default**: ``null``

This determines whether cookies should only be sent over secure connections. In
addition to ``true`` and ``false``, there's a special ``'auto'`` value that
addition to ``true`` and ``false``, there's a special ``null`` value that
means ``true`` for HTTPS requests and ``false`` for HTTP requests.

cookie_httponly
Expand Down