Hi,
Looking for urlencode[1] implementation, I saw[2] that it uses
urlquote on django.utils.http[3] and when I try to encode and URL like
"http://www.google.com" using that filter, I receive the follow return
"http%3A//www.google.com":
>>> from django.template.defaultfilters import urlencode
>>> urlencode('http://www.google.com')
u'http%3A//www.google.com'
My doubt: is that the expected result when using this filter?
If not I can submit a ticket with the patch.
Regards,
Danilo Cabello
[1] - http://docs.djangoproject.com/en/dev/ref/templates/builtins/#urlencode
[2] -
http://code.djangoproject.com/browser/django/trunk/django/template/defaultfilters.py#L292
[3] -
http://code.djangoproject.com/browser/django/trunk/django/utils/http.py#L10
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---