]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] gh-105704: Disallow square brackets (`[` and `]`) in domain names for parsed...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 19 Feb 2025 13:36:40 +0000 (14:36 +0100)
committerGitHub <noreply@github.com>
Wed, 19 Feb 2025 13:36:40 +0000 (14:36 +0100)
commitff4e5c25666f63544071a6b075ae8b25c98b7a32
tree9e7ce2c27a80685e46abd5d2ebfc4e67aa96efa0
parentf116a9c15cba87f6cac5724214ce267ad27c29c0
[3.9] gh-105704: Disallow square brackets (`[` and `]`) in domain names for parsed URLs (GH-129418) (#129530)

(cherry picked from commit d89a5f6a6e65511a5f6e0618c4c30a7aa5aba56a)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Lib/test/test_urlparse.py
Lib/urllib/parse.py
Misc/NEWS.d/next/Security/2025-01-28-14-08-03.gh-issue-105704.EnhHxu.rst [new file with mode: 0644]