#4911: reverse not handling escape characters
-----------------------+----------------------------------------------------
Reporter:  hattawayd   |       Owner:  jacob        
  Status:  new         |   Component:  Uncategorized
 Version:  SVN         |    Keywords:               
   Stage:  Unreviewed  |   Has_patch:  0            
-----------------------+----------------------------------------------------
 I have one of my url patterns like this:
 
 {{{
 (r'^plot/(?P<name>\w+)\.(?P<type>\w+)$', image),
 }}}
 
 but {{{ reverse(image, {'name': 'graph', 'type': 'png'}) }}}
 gives me {{{ plot/graph%5C.png }}}
 
 reverse is leaving the \ in as %5C, when it is being used to escape the .

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4911>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to