Skip to content

Commit

Permalink
fix favicon host header issue (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir authored Sep 7, 2023
1 parent f36a2c0 commit d814260
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -1934,6 +1934,7 @@ func (r *Runner) handleFaviconHash(hp *httpx.HTTPX, req *retryablehttp.Request,
}
if URL.IsAbs() {
req.SetURL(URL)
req.Host = URL.Host
faviconPath = ""
} else {
faviconPath = URL.String()
Expand Down

0 comments on commit d814260

Please sign in to comment.