Fixed #6301 -- Added '*' to the characters not converted by iri_to_uri(), as

pointed out by samidh.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-02-03 02:21:51 +00:00
parent 8ce7d4740e
commit 8b29767f3f
1 changed files with 1 additions and 1 deletions

View File

@ -98,5 +98,5 @@ def iri_to_uri(iri):
# section 3.1 of RFC 3987.
if iri is None:
return iri
return urllib.quote(smart_str(iri), safe='/#%[]=:;$&()+,!?')
return urllib.quote(smart_str(iri), safe='/#%[]=:;$&()+,!?*')