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 martin.panter
Recipients Graham.Oliver, a.badger, ajaksu2, ezio.melotti, janssen, martin.panter, orsenthil, thezulk, vstinner
Date 2017-01-18.11:40:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484739638.23.0.415721724297.issue3991@psf.upfronthosting.co.za>
In-reply-to
Content
Issue 9679: Focusses on encoding just the DNS name
Issue 20559: Maybe a duplicate, or opportunity for better documentation or error message as a bug fix?

Andreas’s patch just proposes a new function called quote_uri(). It would need documentation. We already have a quote() and quote_plus() function. Since it sounds like this is for IRIs (https://tools.ietf.org/html/rfc3987), would it be more appropriate to call it quote_iri()?

See revision cb09fdef19f5, especially the quote(safe=...) parameter, for how I avoided the double encoding problem.
History
Date User Action Args
2017-01-18 11:40:38martin.pantersetrecipients: + martin.panter, janssen, orsenthil, vstinner, ajaksu2, ezio.melotti, a.badger, thezulk, Graham.Oliver
2017-01-18 11:40:38martin.pantersetmessageid: <1484739638.23.0.415721724297.issue3991@psf.upfronthosting.co.za>
2017-01-18 11:40:38martin.panterlinkissue3991 messages
2017-01-18 11:40:37martin.pantercreate