g-andrade / locus

MMDB reader for geolocation and ASN lookup of IP addresses
https://hexdocs.pm/locus/
MIT License
111 stars 15 forks source link

HTTPS redirects may fail #14

Closed g-andrade closed 4 years ago

g-andrade commented 4 years ago

Due to the fact that TLS validation options are only specified once - for the original URL - the TLS handshake fails for a redirection URL if its hostname is distinct from the first URL's hostname (excluding certain scenarios involving wildcard certificates.)

g-andrade commented 4 years ago

Fixed in 21c2fc80, yet unreleased.

g-andrade commented 4 years ago

Released in 1.11.0-beta.