#18210: Regression and crash with any "special" prefix values passed to
reverse()
-------------------------------------+-------------------------------------
Reporter: toofishes | Owner: nobody
Type: Bug | Status: closed
Component: Core (URLs) | Version: 1.4
Severity: Release blocker | Resolution: fixed
Keywords: reverse | Triage Stage: Ready for
Has patch: 1 | checkin
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jannis Leidel <jannis@…>):
In [changeset:"dd740e2b2e2780cc5b4357f1cd9b62f830945ec4"]:
{{{
#!CommitTicketReference repository=""
revision="dd740e2b2e2780cc5b4357f1cd9b62f830945ec4"
[1.5.x] Fixed #18210 -- Escaped special characters in reverse prefixes.
Ensured that special characters passed in to reverse via the
prefix argument are properly escaped so that calls to
django.utils.regex_helpers.normalize and/or string formatting
operations don't result in exceptions.
Thanks to toofishes for the error report.
Backport of 90e530978d590a5bdcf75525aa03f844766018b8 from master.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/18210#comment:10>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.