From 9bd3c18a2a1828f8b15776b5c4c3475d9739036c Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sun, 16 Apr 2017 14:02:24 +0100 Subject: [PATCH] fix typo --- filemanager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filemanager.go b/filemanager.go index 993d7e88..7e787683 100644 --- a/filemanager.go +++ b/filemanager.go @@ -77,7 +77,7 @@ func (f FileManager) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, err // the collection, or something else altogether. // // It was decided on https://github.com/hacdias/caddy-filemanager/issues/85 - // that GET, for collection, will return the same as PROPFIND method. + // that GET, for collections, will return the same as PROPFIND method. path := strings.Replace(r.URL.Path, c.WebDavURL, "", 1) path = user.Scope + "/" + path path = filepath.Clean(path)