]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] 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:23 +0000 (14:36 +0100)
committerGitHub <noreply@github.com>
Wed, 19 Feb 2025 13:36:23 +0000 (14:36 +0100)
commitb8b4b713c5f8ec0958c7ef8d29d6711889bc94ab
treee61907119e9224f840310b69db87462661f40c8c
parent817564849e59ac5ccc4493b3596bccbb8cbfd375
[3.10] gh-105704: Disallow square brackets (`[` and `]`) in domain names for parsed URLs (GH-129418) (#129529)

(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]