gh-100985: Consistently wrap IPv6 IP address during CONNECT#100986
Merged
serhiy-storchaka merged 3 commits intopython:mainfrom Feb 17, 2024
Merged
gh-100985: Consistently wrap IPv6 IP address during CONNECT#100986serhiy-storchaka merged 3 commits intopython:mainfrom
serhiy-storchaka merged 3 commits intopython:mainfrom
Conversation
383fbf1 to
6c35f40
Compare
e886d29 to
a613ee4
Compare
a613ee4 to
c3d6794
Compare
Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ".
c3d6794 to
43f9b0b
Compare
serhiy-storchaka
approved these changes
Feb 17, 2024
Member
serhiy-storchaka
left a comment
There was a problem hiding this comment.
LGTM, with some nitpicks.
Misc/NEWS.d/next/Library/2023-01-12-14-16-01.gh-issue-100985.GT5Fvd.rst
Outdated
Show resolved
Hide resolved
|
Thanks @derekhiggins for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Feb 17, 2024
…thonGH-100986) Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ". (cherry picked from commit 465db27) Co-authored-by: Derek Higgins <derekh@redhat.com>
|
Sorry, @derekhiggins and @serhiy-storchaka, I could not cleanly backport this to |
|
GH-115591 is a backport of this pull request to the 3.12 branch. |
serhiy-storchaka
pushed a commit
to serhiy-storchaka/cpython
that referenced
this pull request
Feb 17, 2024
…ECT (pythonGH-100986) Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ". (cherry picked from commit 465db27) Co-authored-by: Derek Higgins <derekh@redhat.com>
|
GH-115606 is a backport of this pull request to the 3.11 branch. |
woodruffw
pushed a commit
to woodruffw-forks/cpython
that referenced
this pull request
Mar 4, 2024
…thonGH-100986) Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ".
diegorusso
pushed a commit
to diegorusso/cpython
that referenced
this pull request
Apr 17, 2024
…thonGH-100986) Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ".
LukasWoodtli
pushed a commit
to LukasWoodtli/cpython
that referenced
this pull request
Jan 22, 2025
…thonGH-100986) Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed
in "CONNECT .." and "Host: ".