Ticket #6129: 6129.django.utils.encoding.diff

File 6129.django.utils.encoding.diff, 415 bytes (added by Pete Crosier, 17 years ago)

Fix to leave tildes alone

  • django/utils/encoding.py

     
    9898    # section 3.1 of RFC 3987.
    9999    if iri is None:
    100100        return iri
    101     return urllib.quote(smart_str(iri), safe='/#%[]=:;$&()+,!?')
    102 
     101    return urllib.quote(smart_str(iri), safe='/#%[]=:;$&()+,!?~')
Back to Top