You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verifying a https certificate by the subjectAltName->"IP Address" fails when the accessing a server by IPv6 address through a Proxy
in the case where a proxy is used the Host IP used for comparison is wrapped in square brackets
Environment
[derekh@u07 urllib3]$ python
Python 3.6.8 (default, Aug 24 2020, 17:57:11)
[GCC 8.3.1 20191121 (Red Hat 8.3.1-5)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> import urllib3
>>>
>>> print("OS", platform.platform())
OS Linux-4.18.0-240.22.1.el8_3.x86_64-x86_64-with-centos-8.3.2011
>>> print("Python", platform.python_version())
Python 3.6.8
>>> print("urllib3", urllib3.__version__)
urllib3 1.24.2
Also reproduced on the master branch
>>> print("urllib3", urllib3.__version__)
urllib3 2.0.0.dev0
Subject
Verifying a https certificate by the subjectAltName->"IP Address" fails when the accessing a server by IPv6 address through a Proxy
in the case where a proxy is used the Host IP used for comparison is wrapped in square brackets
Environment
Steps to Reproduce
This works (without a proxy)
Accessing the same URL via a proxy doesn't
The text was updated successfully, but these errors were encountered: