#12072: Literal strings containing [,=] break {% url %}. --------------------------------------+------------------------------------- Reporter: emulbreh | Owner: alexdutton Status: new | Milestone: 1.2 Component: Template system | Version: 1.1 Resolution: | Keywords: url tag Stage: Accepted | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | --------------------------------------+------------------------------------- Comment (by alexdutton):
I've added some tests to highlight the issue, and also replaced the {% url %} argument parsing. Previously it split on ',' and '=' regardless of whether they're in string literals. Now using filter_re from django.template to cope with string literals. -- Ticket URL: <http://code.djangoproject.com/ticket/12072#comment:6> Django <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 django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.