Very simple fix for #1153

This commit is contained in:
Toby Allen 2016-10-13 21:56:55 +01:00
parent 9ced4b17e5
commit 29de209a5d

View file

@ -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