mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
7cfcff31be
Use URL.Hostname() instead of URL.Host to extract the hostname for DNS resolution. This ensures the port number is not included in the DNS query when probing all IPs for a URL like http://example.com:8080. Fixes #2346 Signed-off-by: majiayu000 <1835304752@qq.com>