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
HTTPSConnection double wrapping IPv6 address during CONNECT #100985
Comments
derekhiggins
added a commit
to derekhiggins/cpython
that referenced
this issue
Jan 12, 2023
Update _get_hostport to always remove square brackets from IPv6 addresses. The return them back if needed in "CONNECT .." and "Host: ".
derekhiggins
added a commit
to derekhiggins/cpython
that referenced
this issue
Jan 12, 2023
Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ".
derekhiggins
added a commit
to derekhiggins/cpython
that referenced
this issue
Jan 12, 2023
Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ".
derekhiggins
added a commit
to derekhiggins/cpython
that referenced
this issue
Jan 19, 2023
Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ".
derekhiggins
added a commit
to derekhiggins/cpython
that referenced
this issue
Jan 26, 2023
Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ".
derekhiggins
added a commit
to derekhiggins/cpython
that referenced
this issue
Feb 2, 2023
Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ".
derekhiggins
added a commit
to derekhiggins/cpython
that referenced
this issue
Feb 23, 2023
Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ".
serhiy-storchaka
pushed a commit
that referenced
this issue
Feb 17, 2024
Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ".
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
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>
serhiy-storchaka
pushed a commit
to serhiy-storchaka/cpython
that referenced
this issue
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>
woodruffw
pushed a commit
to woodruffw-forks/cpython
that referenced
this issue
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 issue
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: ".
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
when http.client.HTTPSConnection is used with IPv6 addresses and a proxy results in the "Host:" Header being
wrapped in square brackets twice. (e.g. Host: [[fd2e:6f44:5dd8:c956::15]]:5050 )
Your environment
$ cat /etc/redhat-release
Red Hat Enterprise Linux CoreOS release 4.12
$ rpm -qf /usr/bin/python3
python3-3.9.10-4.el9_0.x86_64
Linked PRs
The text was updated successfully, but these errors were encountered: