#9655: urlize should not quote already quoted urls.
--------------------------------------+-------------------------------------
          Reporter:  flytwokites      |         Owner:  nobody
            Status:  closed           |     Milestone:        
         Component:  Template system  |       Version:  1.0   
        Resolution:  invalid          |      Keywords:  urlize
             Stage:  Unreviewed       |     Has_patch:  0     
        Needs_docs:  0                |   Needs_tests:  0     
Needs_better_patch:  0                |  
--------------------------------------+-------------------------------------
Changes (by kmtracey):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => invalid
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 `urlize` works with plain text:

 http://docs.djangoproject.com/en/dev/ref/templates/builtins/#urlize

 You are not passing plain text here, you are passing something that has
 already been percent-encoded.  There's no way for `urlize` to know that,
 so it percent-encodes the link value, which it must do in order to
 generate correct urls for data that has not already been percent-encoded.
 If you want to use `urlize`, you need to pass it a not-percent-quoted,
 plain text value to work with.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9655#comment:1>
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to