]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Check SAN for IP if using an address URL in https() [#1125].
authorBob Halley <halley@dnspython.org>
Sat, 14 Sep 2024 15:51:39 +0000 (08:51 -0700)
committerBob Halley <halley@dnspython.org>
Sat, 14 Sep 2024 15:51:39 +0000 (08:51 -0700)
commitb0be65568e36921475954949b954b1e35b6fa453
tree47f6cb3f5e8270e34544f19c5ffc6c878a13b76c
parent406079ae0ca33abf372b2ab91f1c5994e4115836
Check SAN for IP if using an address URL in https() [#1125].

Httpx needs us to set the "sni_hostname" extension if the
server in the URL is an IP address, as otherwise it will not
check the certificate.  With this change, it will look for a
SAN with the IP address.
dns/asyncquery.py
dns/query.py