[3.11] gh-103848: Adds checks to ensure that bracketed hosts found by urlsplit are...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 10 May 2023 06:35:24 +0000 (23:35 -0700)
committerArnaud Rebillout <arnaudr@debian.org>
Thu, 14 May 2026 03:00:00 +0000 (10:00 +0700)
commit21c553bc374800bbbc628b6af5d3a18bb69da7f1
treed1713350184ba52e8f18e168d3c2a6dc1ad81100
parentddce397ba922278d08659ac949780b8ae90ccb5d
[3.11] gh-103848: Adds checks to ensure that bracketed hosts found by urlsplit are of IPv6 or IPvFuture format (GH-103849) (#104349)

gh-103848: Adds checks to ensure that bracketed hosts found by urlsplit are of IPv6 or IPvFuture format (GH-103849)

* Adds checks to ensure that bracketed hosts found by urlsplit are of IPv6 or IPvFuture format

---------

(cherry picked from commit 29f348e232e82938ba2165843c448c2b291504c5)

Co-authored-by: JohnJamesUtley <81572567+JohnJamesUtley@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Gbp-Pq: Name 0027-3.11-gh-103848-Adds-checks-to-ensure-that-bracketed-.patch
Lib/test/test_urlparse.py
Lib/urllib/parse.py