Skip to content

Commit

Permalink
Fixed redirect to self
Browse files Browse the repository at this point in the history
  • Loading branch information
razzie committed Dec 8, 2020
1 parent 17fd149 commit 7906148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlerfactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (hf *HandlerFactory) newRedirectHandler(hostname, hostPath string, target u
}
http.Redirect(w, r, redirURL.String(), http.StatusSeeOther)
})
return handlePathCombinations(handler, hostname, hostPath, "")
return handlePathCombinations(handler, "", hostPath, "")
}

func (hf *HandlerFactory) setupPHP(cgiaddr *url.URL) {
Expand Down

0 comments on commit 7906148

Please sign in to comment.