#31871: SESSION_COOKIE_SAMESITE is not correctly documented on
django.conf.global_settings
-----------------------------------------+------------------------
Reporter: אורי | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
https://github.com/django/django/blob/master/django/conf/global_settings.py#L472-L473
{{{
# Whether to set the flag restricting cookie leaks on cross-site requests.
# This can be 'Lax', 'Strict', or None to disable the flag.
}}}
This is not what is written in
https://docs.djangoproject.com/en/3.1/ref/settings/#std:setting-
SESSION_COOKIE_SAMESITE
As a side note, I understand that using `None` can also disable the flag -
not only `False`, and I think this should be documented (since `None` was
the way to disable the flag with Django <= 3.0 - so it should be
documented that `None` still works like before).
--
Ticket URL: <https://code.djangoproject.com/ticket/31871>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.f7cdc59a69522dcce7764fd22d43e27e%40djangoproject.com.