#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 Chris Jerdonek):
I added a follow-up PR here that renames `token_re`:
https://github.com/django/django/pull/14461
--
Ticket URL: <https://code.djangoproject.com/ticket/32778#comment:8>
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.4a93a2d5fc157f33fa3600f48cff221a%40djangoproject.com.