Summary: | [Tracker] >=dev-lang/python-3.11.4 urllib parser fix breaks tests with non-compliant input data | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ninpo <ninpo> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | mgorny |
Priority: | Normal | Keywords: | Tracker |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/python/cpython/issues/103848 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 909553, 909567, 910742 | ||
Bug Blocks: |
Description
Ninpo
2023-07-06 02:11:21 UTC
(In reply to Ninpo from comment #0) > In Python 3.11.4, urllib's parser received a fix that makes it correctly > parse [ and ] in a url string, in that it checks that [] contains a properly > formatted IPv4 or IPv6 address, as per the URL spec. Intended literal [ or ] FWICS, only IPv6 addresses are valid in brackets. (In reply to Michał Górny from comment #1) > (In reply to Ninpo from comment #0) > > In Python 3.11.4, urllib's parser received a fix that makes it correctly > > parse [ and ] in a url string, in that it checks that [] contains a properly > > formatted IPv4 or IPv6 address, as per the URL spec. Intended literal [ or ] > > FWICS, only IPv6 addresses are valid in brackets. Yeah the ValueError kicked out is a touch ambiguous with that. |