New submission from Matteo Parrucci: RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt) says:
For consistency, percent-encoded octets in the ranges of ALPHA (%41-%5A and %61-%7A), DIGIT (%30-%39), hyphen (%2D), period (%2E), underscore (%5F), or tilde (%7E) should not be created by URI producers and, when found in a URI, should be decoded to their corresponding unreserved characters by URI normalizers. >From python documentation talking about urllib.quote() Example: quote('/~connolly/') yields '/%7econnolly/'. I think ~ should be added to the safe characters of quote function ---------- messages: 173319 nosy: Matteo.Parrucci priority: normal severity: normal status: open title: Erroneously encoding tilde to %7e in quote _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16285> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com