]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-100985: Consistently wrap IPv6 IP address during CONNECT (GH-100986) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 17 Feb 2024 13:01:48 +0000 (14:01 +0100)
committerGitHub <noreply@github.com>
Sat, 17 Feb 2024 13:01:48 +0000 (15:01 +0200)
commit23aef575c7629abcd4aaf028ebd226fb41a4b3c8
treeb1e7973211aaa17b8f6ac1a262f330da3b6b93f7
parent9148b77e0af91cdacaa7fe3dfac09635c3fe9a74
[3.12] gh-100985: Consistently wrap IPv6 IP address during CONNECT (GH-100986) (GH-115591)

Update _get_hostport to always remove square brackets
from IPv6 addresses. Then add them if needed
in "CONNECT .." and "Host: ".
(cherry picked from commit 465db27cb983084e718a1fd9519b2726c96935cb)

Co-authored-by: Derek Higgins <derekh@redhat.com>
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]