Ticket #12445: django-iri_to_uri.patch
File django-iri_to_uri.patch, 468 bytes (added by , 15 years ago) |
---|
-
utils/encoding.py
136 136 # section 3.1 of RFC 3987. 137 137 if iri is None: 138 138 return iri 139 return urllib.quote(smart_str(iri), safe='/#%[]=:;$&()+,!?* ')139 return urllib.quote(smart_str(iri), safe='/#%[]=:;$&()+,!?*~') 140 140 141 141 142 142 # The encoding of the default system locale but falls back to the