mirror of
https://github.com/python/cpython.git
synced 2026-01-27 13:15:25 +00:00
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>