Ticket #12445: django-iri_to_uri.patch

File django-iri_to_uri.patch, 468 bytes (added by jille@…, 14 years ago)

Proposed patch

  • utils/encoding.py

     
    136136    # section 3.1 of RFC 3987.
    137137    if iri is None:
    138138        return iri
    139     return urllib.quote(smart_str(iri), safe='/#%[]=:;$&()+,!?*')
     139    return urllib.quote(smart_str(iri), safe='/#%[]=:;$&()+,!?*~')
    140140
    141141
    142142# The encoding of the default system locale but falls back to the
Back to Top