I believe that's the expected outcome.. The use is to encode something for
the use in an URL...
Eg. convert "some-crazy//user?input" into something that can safely be
passed into http://www.google.com/search?q=URL_ENCODED_STRING
On Sun, Oct 25, 2009 at 9:14 PM, Danilo Cabello
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