From 29de209a5d6bb54c401c8f00beeb19b9cd08004e Mon Sep 17 00:00:00 2001 From: Toby Allen Date: Thu, 13 Oct 2016 21:56:55 +0100 Subject: [PATCH] Very simple fix for #1153 --- caddyhttp/fastcgi/fastcgi.go | 1 - 1 file changed, 1 deletion(-) diff --git a/caddyhttp/fastcgi/fastcgi.go b/caddyhttp/fastcgi/fastcgi.go index c3e1cab9..4cf957d9 100644 --- a/caddyhttp/fastcgi/fastcgi.go +++ b/caddyhttp/fastcgi/fastcgi.go @@ -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