]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-100985: Consistently wrap IPv6 IP address during CONNECT (GH-100986)
authorDerek Higgins <derekh@redhat.com>
Sat, 17 Feb 2024 10:10:12 +0000 (10:10 +0000)
committerGitHub <noreply@github.com>
Sat, 17 Feb 2024 10:10:12 +0000 (10:10 +0000)
commit465db27cb983084e718a1fd9519b2726c96935cb
tree66db7d29195e9da8bd373fa65c0bafcef0def880
parent4dff48d1f454096efa2e1e7b4596bc56c6f68c20
gh-100985: Consistently wrap IPv6 IP address during CONNECT (GH-100986)

Update _get_hostport to always remove square brackets
from IPv6 addresses. Then add them if needed
in "CONNECT .." and "Host: ".
Lib/http/client.py
Lib/test/test_httplib.py
Misc/ACKS
Misc/NEWS.d/next/Library/2023-01-12-14-16-01.gh-issue-100985.GT5Fvd.rst [new file with mode: 0644]