#35062: Update csrf.py to check request.POST if request.method is not GET
-----------------------------+--------------------------------------
Reporter: Peter Jones | Owner: nobody
Type: Bug | Status: closed
Component: CSRF | Version: 4.2
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-----------------------------+--------------------------------------
Comment (by Peter Jones):
I've enhanced my middleware to address both the Request method limitation
and the CSRF header issue for HTML forms. Despite these improvements, I
believe Django, as 'the web framework for perfectionists,' should
inherently offer better support for scenarios where JavaScript is disabled
in the browser. Prioritizing accessibility and functionality in a no-
JavaScript environment aligns with the high standards Django sets for web
development.
https://www.reddit.com/r/webdev/comments/mfnxnj/why_your_website_should_work_without_javascript/
--
Ticket URL: <https://code.djangoproject.com/ticket/35062#comment:3>
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/0107018ca0d1f104-53accbb8-74e1-4fa5-9ac1-9956dddf3132-000000%40eu-central-1.amazonses.com.