Author vstinner
Recipients christian.heimes, jpic, martin.panter, matrixise, orsenthil, ronaldoussoren, sanebow, vstinner, xtreak
Date 2019-10-14.14:07:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571062033.18.0.93296219562.issue36338@roundup.psfhosted.org>
In-reply-to
Content
I proposed PR 16780 which makes the urllib.parse module way more stricter:

* the IPv6 address is validated by ipaddress.IPv6Address() parser
* invalid characters are rejected in the IPv6 zone: "%", "[" and "]"
* the port number is now validated when parsing the URL: must be an integer in the [0; 65535] range

Sadly, validating using ipaddress.IPv6Address() cannot be easily ported to Python 2 which doesn't have this module.
History
Date User Action Args
2019-10-14 14:07:13vstinnersetrecipients: + vstinner, ronaldoussoren, orsenthil, christian.heimes, martin.panter, matrixise, xtreak, sanebow, jpic
2019-10-14 14:07:13vstinnersetmessageid: <1571062033.18.0.93296219562.issue36338@roundup.psfhosted.org>
2019-10-14 14:07:13vstinnerlinkissue36338 messages
2019-10-14 14:07:13vstinnercreate