From 37f8217eff538fcf36d8b087242b49d17e84ad47 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 2 Feb 2011 13:00:20 -0800 Subject: [PATCH] camweb: fix minor CGI bug; wasn't affecting anything. --- website/cgi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/cgi.go b/website/cgi.go index db7bc3c8e..0c69ebfee 100644 --- a/website/cgi.go +++ b/website/cgi.go @@ -43,7 +43,7 @@ type CgiHandler struct { } func (h *CgiHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request) { - pathInfo := req.URL.RawPath + pathInfo := req.URL.Path if strings.HasPrefix(pathInfo, h.Root) { pathInfo = pathInfo[len(h.Root):] }