This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author demian.brecht
Recipients Bob.Chen, demian.brecht, orsenthil, vstinner
Date 2015-01-04.06:46:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420353977.24.0.884116163904.issue22231@psf.upfronthosting.co.za>
In-reply-to
Content
utf-8 encoding is only one step in IRI encoding. Correct IRI encoding is non trivial and doesn't fall into the support policy for 2.7 (bug/security fixes). I think that the best that can be done for 2.7 is to enhance the documentation around HTTPConnection.__init__ (unicode hostnames should be IDNA-encoded with the built-in IDNA encoder) and HTTPConnection.request/putrequest noting that unicode paths should be IRI encoded, with a link to RFC 3987.
History
Date User Action Args
2015-01-04 06:46:17demian.brechtsetrecipients: + demian.brecht, orsenthil, vstinner, Bob.Chen
2015-01-04 06:46:17demian.brechtsetmessageid: <1420353977.24.0.884116163904.issue22231@psf.upfronthosting.co.za>
2015-01-04 06:46:17demian.brechtlinkissue22231 messages
2015-01-04 06:46:16demian.brechtcreate