diff options
Diffstat (limited to 'cmd/git-lfs-server')
-rw-r--r-- | cmd/git-lfs-server/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/git-lfs-server/main.go b/cmd/git-lfs-server/main.go index 19a0747..2b75b3d 100644 --- a/cmd/git-lfs-server/main.go +++ b/cmd/git-lfs-server/main.go | |||
@@ -207,7 +207,9 @@ func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { | |||
207 | if reqPath == "" { | 207 | if reqPath == "" { |
208 | reqPath = r.URL.Path | 208 | reqPath = r.URL.Path |
209 | } | 209 | } |
210 | log("reqPath: %s", reqPath) | ||
210 | reqPath = strings.TrimPrefix("/", path.Clean(reqPath)) | 211 | reqPath = strings.TrimPrefix("/", path.Clean(reqPath)) |
212 | log("Cleaned reqPath: %s", reqPath) | ||
211 | submatches := re.FindStringSubmatch(reqPath) | 213 | submatches := re.FindStringSubmatch(reqPath) |
212 | if len(submatches) != 2 { | 214 | if len(submatches) != 2 { |
213 | log("Got path: %s, did not match regex", reqPath) | 215 | log("Got path: %s, did not match regex", reqPath) |