mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
[3.1.x] Fixed #32065 -- Restored leading dot to CSRF_COOKIE_DOMAIN examples.
Partially revertsafd375fc34
. Thanks to Tim Graham for review. Backport of3d4ffd1ff0
from master
This commit is contained in:
parent
3add635ff7
commit
1f8dbc8fa9
2 changed files with 5 additions and 5 deletions
|
@ -313,7 +313,7 @@ Default: ``None``
|
|||
The domain to be used when setting the CSRF cookie. This can be useful for
|
||||
easily allowing cross-subdomain requests to be excluded from the normal cross
|
||||
site request forgery protection. It should be set to a string such as
|
||||
``"example.com"`` to allow a POST request from a form on one subdomain to be
|
||||
``".example.com"`` to allow a POST request from a form on one subdomain to be
|
||||
accepted by a view served from another subdomain.
|
||||
|
||||
Please note that the presence of this setting does not imply that Django's CSRF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue