mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
f144424bb8
When FollowRedirects is enabled and the target redirects to a different host (e.g., hackerone.com -> www.hackerone.com), the favicon URL is correctly resolved to the final host, but the cloned request's Host header still contains the original host. This causes the server to return 404 because the Host header doesn't match the URL. This fix updates the Host header to match the resolved URL host before making the favicon request.