#32778: Avoided unnecessary recompilation of token regex in _sanitize_token().
-------------------------------------+-------------------------------------
Reporter: Abhyudai | Owner: Abhyudai
Type: | Status: closed
Cleanup/optimization |
Component: CSRF | Version: 3.2
Severity: Normal | Resolution: fixed
Keywords: middleware, csrf | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by GitHub <noreply@…>):
In [changeset:"d270dd584e0af12fe6229fb712d0704c232dc7e5" d270dd58]:
{{{
#!CommitTicketReference repository=""
revision="d270dd584e0af12fe6229fb712d0704c232dc7e5"
Refs #32778 -- Improved the name of the regex object detecting invalid
CSRF token characters.
This also improves the comments near where the variable is used.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32778#comment:9>
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/068.03c4a8b244c80da9d59eb40af4f3e1f2%40djangoproject.com.