消息 [354634]
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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2019-10-14 14:07:13 | vstinner | 修改 | recipients:
+ vstinner, ronaldoussoren, orsenthil, christian.heimes, martin.panter, matrixise, xtreak, sanebow, jpic |
| 2019-10-14 14:07:13 | vstinner | 修改 | messageid: <1571062033.18.0.93296219562.issue36338@roundup.psfhosted.org> |
| 2019-10-14 14:07:13 | vstinner | 链接 | issue36338 messages |
| 2019-10-14 14:07:13 | vstinner | 创建 | |
|