Browse files

Fixed #6301 -- Added '*' to the characters not converted by iri_to_ur…

…i(), as

pointed out by samidh.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 8ce7d47 commit 8b29767f3f9d144a3e5cc8506db5acb25aa2d542 @malcolmt malcolmt committed Feb 3, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/utils/encoding.py
View
2 django/utils/encoding.py
@@ -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='/#%[]=:;$&()+,!?*')

0 comments on commit 8b29767

Please sign in to comment.