Ticket #6129: 6129.django.utils.encoding.diff
File 6129.django.utils.encoding.diff, 415 bytes (added by , 17 years ago) |
---|
-
django/utils/encoding.py
98 98 # section 3.1 of RFC 3987. 99 99 if iri is None: 100 100 return iri 101 return urllib.quote(smart_str(iri), safe='/#%[]=:;$&()+,!?') 102 101 return urllib.quote(smart_str(iri), safe='/#%[]=:;$&()+,!?~')