unexport baseURL and webDavURL

This commit is contained in:
Henrique Dias
2017-06-25 13:09:49 +01:00
parent e6492286db
commit b93158b291
8 changed files with 25 additions and 25 deletions

View File

@@ -77,7 +77,7 @@ func command(w http.ResponseWriter, r *http.Request, c *FileManager, u *user) (i
}
// Gets the path and initializes a buffer.
path := strings.Replace(r.URL.Path, c.BaseURL, c.scope, 1)
path := strings.Replace(r.URL.Path, c.baseURL, c.scope, 1)
path = filepath.Clean(path)
buff := new(bytes.Buffer)