#33836: Incompatible default setting for CSRF_HEADER_NAME
-------------------------------------+-------------------------------------
Reporter: Matías | Owner: Matías Santurio
Santurio |
Type: Bug | Status: assigned
Component: CSRF | Version: 4.0
Severity: Normal | Keywords: CSRF settings
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The default setting for CSRF_HEADER_NAME is 'HTTP_X_CSRFTOKEN' which is
incompatible with modern web application servers (including django
development server), this is because it includes an underscore, which
these servers don't allow since it can lead to 'header-spoofing'.
--
Ticket URL: <https://code.djangoproject.com/ticket/33836>
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/01070181e6487a9d-19a83610-81a6-47d9-8d23-1749438754ed-000000%40eu-central-1.amazonses.com.