diff options
Diffstat (limited to 'src/pkg/http/cgi/host.go')
| -rw-r--r-- | src/pkg/http/cgi/host.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/http/cgi/host.go b/src/pkg/http/cgi/host.go index 93825b391..f7de89f99 100644 --- a/src/pkg/http/cgi/host.go +++ b/src/pkg/http/cgi/host.go @@ -276,7 +276,7 @@ func (h *Handler) printf(format string, v ...interface{}) { } func (h *Handler) handleInternalRedirect(rw http.ResponseWriter, req *http.Request, path string) { - url, err := req.URL.ParseURL(path) + url, err := req.URL.Parse(path) if err != nil { rw.WriteHeader(http.StatusInternalServerError) h.printf("cgi: error resolving local URI path %q: %v", path, err) |
