Skip to content

[3.11] gh-105704: Disallow square brackets ([ and ]) in domain names for parsed URLs (GH-129418) - #129528

Merged
ambv merged 1 commit into
python:3.11from
miss-islington:backport-d89a5f6-3.11
Feb 19, 2025
Merged

ambv merged 1 commit into
python:3.11from
miss-islington:backport-d89a5f6-3.11

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor

Co-authored-by: Peter Bierma zintensitydev@gmail.com

  • Add mismatched bracket test cases, fix news format

  • Add more test coverage for ports


(cherry picked from commit d89a5f6)

Co-authored-by: Seth Michael Larson seth@python.org
Co-authored-by: Peter Bierma zintensitydev@gmail.com

…es for parsed URLs (pythonGH-129418)

* pythongh-105704: Disallow square brackets ( and ) in domain names for parsed URLs

* Use Sphinx references

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>

* Add mismatched bracket test cases, fix news format

* Add more test coverage for ports

---------

(cherry picked from commit d89a5f6)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
@ambv
ambv merged commit 526617e into python:3.11 Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants