#13260: urlresolvers.reverse() generates invalid URLs when an argument contains 
%
character
-------------------------------------+--------------------------------------
          Reporter:  semenov         |         Owner:  stumbles
            Status:  assigned        |     Milestone:          
         Component:  Core framework  |       Version:  1.1     
        Resolution:                  |      Keywords:          
             Stage:  Accepted        |     Has_patch:  1       
        Needs_docs:  0               |   Needs_tests:  0       
Needs_better_patch:  0               |  
-------------------------------------+--------------------------------------
Changes (by stumbles):

  * has_patch:  0 => 1

Comment:

 Added a copy of russellm's regression test to also test kwargs.

 Have resolved by applying urlquote to the args and kwargs values. Special
 characters "+$*/" are marked as safe to comply with existing regression
 tests.

 This is my first Django patch, so any feedback would be appreciated.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13260#comment:4>
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.

Reply via email to