mirror of
https://github.com/python/cpython.git
synced 2026-05-07 21:20:55 -04:00
23aef575c7
Update _get_hostport to always remove square brackets
from IPv6 addresses. Then add them if needed
in "CONNECT .." and "Host: ".
(cherry picked from commit 465db27cb9)
Co-authored-by: Derek Higgins <derekh@redhat.com>