Message354634
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. |
|
| Date |
User |
Action |
Args |
| 2019-10-14 14:07:13 | vstinner | set | recipients:
+ vstinner, ronaldoussoren, orsenthil, christian.heimes, martin.panter, matrixise, xtreak, sanebow, jpic |
| 2019-10-14 14:07:13 | vstinner | set | messageid: <[email protected]> |
| 2019-10-14 14:07:13 | vstinner | link | issue36338 messages |
| 2019-10-14 14:07:13 | vstinner | create | |
|