mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-09 12:28:49 +03:00
Very simple fix for #1153
This commit is contained in:
parent
9ced4b17e5
commit
29de209a5d
1 changed files with 0 additions and 1 deletions
|
@ -205,7 +205,6 @@ func (h Handler) buildEnv(r *http.Request, rule Rule, fpath string) (map[string]
|
|||
reqURI := r.URL.RequestURI()
|
||||
if origURI := r.Header.Get(internalRewriteFieldName); origURI != "" {
|
||||
reqURI = origURI
|
||||
r.Header.Del(internalRewriteFieldName)
|
||||
}
|
||||
|
||||
// Some variables are unused but cleared explicitly to prevent
|
||||
|
|
Loading…
Reference in a new issue