Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.9] gh-103848: Adds checks to ensure that bracketed hosts found by urlsplit are of IPv6 or IPvFuture format (#103849) #126976

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Nov 18, 2024

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

Co-authored-by: Gregory P. Smith greg@krypto.org
(cherry picked from commit 29f348e)

…urlsplit are of IPv6 or IPvFuture format (python#103849)

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

---------

Co-authored-by: Gregory P. Smith <greg@krypto.org>
(cherry picked from commit 29f348e)
@vstinner
Copy link
Member Author

@gpshead: Would you mind to proof-read this backport PR to 3.9? I had a minor conflict Lib/urllib/parse.py because urlsplit() has a decorator on Python 3.11 and newer.

@vstinner
Copy link
Member Author

@pablogsal, @ambv: Would you mind to review/merge this security fix?

@vstinner
Copy link
Member Author

@pablogsal, @ambv: Gentle reminder. Would you mind to review/merge this security fix? It would be nice to get this fix in the next batch of security releases (December 3rd).

@ambv ambv merged commit ddca295 into python:3.9 Dec 2, 2024
14 checks passed
@vstinner vstinner deleted the urlsplit9 branch December 2, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants