Commit 8b29767f authored by Malcolm Tredinnick's avatar Malcolm Tredinnick
Browse files

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
parent 8ce7d474
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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='/#%[]=:;$&()+,!?*')