fix typo
Former-commit-id: 32c755b182a7700412eaa9720bdfd614b0c47e19 [formerly 69c925243d8a4076b623f63a8e0d30862d49b31e] [formerly 29da2552406843fd5745b98aac4b27451043da5f [formerly 9bd3c18a2a1828f8b15776b5c4c3475d9739036c]] Former-commit-id: e33f3d4f182633dc9f1ab31eaad005d21ce8b16f [formerly c1d883b2b5c699b01321b6cedff4df9a4c2f6edc] Former-commit-id: 33e7e881a49457503702bc0a8956fcff4f67da0e
This commit is contained in:
parent
4a0c6ccd0b
commit
5fcc82a2b1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue