#2977: [patch] Better handling of regular expressions for reverse urlresolver
---------------------------+------------------------------------------------
Reporter: SmileyChris | Owner: adrian
Status: new | Component: Core framework
Version: | Resolution:
Keywords: | Stage: Design decision needed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
---------------------------+------------------------------------------------
Comment (by SmileyChris):
Unsafe characters from regex are now only unencoded from sections not
being replaced by arguments
I handled the somewhat rare case of non-argument sections containing
character sets (`[aeiou]`). It just chooses the first character in there.
Perhaps overkill, but I do know that some people prefer to write their
special characters this way rather than escaping them (eg `[$]` rather
than `\$`).
--
Ticket URL: <http://code.djangoproject.com/ticket/2977#comment:16>
Django Code <http://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 this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---