#12119: django.utils.text.smart_split() does not handle multiple quoted strings
joined by non-whitespace characters properly
-----------------------------+----------------------------------------------
 Reporter:  emulbreh         |       Owner:  nobody    
   Status:  new              |   Milestone:            
Component:  Template system  |     Version:  1.1       
 Keywords:                   |       Stage:  Unreviewed
Has_patch:  1                |  
-----------------------------+----------------------------------------------
 {{{
 #!pycon
 >>> from django.utils.text import smart_split
 >>> list(smart_split("cut:','|cut:' '"))
 [u"cut:','|cut:'", u"'"]
 }}}

 This is not a duplicate of #8902 or #10001 (as those have been fixed in
 r10462).
 It might be considered a duplicate of #6271, but the scope of that ticket
 is "fix all template tags" while this ticket should just be about a
 particular `smart_split()` bug.

 I'll attach a patch that only modifies the regexp.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12119>
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-updates@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