Possibly fix #79
This commit is contained in:
6 files changed
+18
-9
No files matched your search
+1
-1
@@ -36,7 +36,7 @@ func CommandRunner(c *caddy.Controller) (CommandFunc, error) {
|
||||
}
|
||||
|
||||
fn = func(r *http.Request, c *Config, u *User) error {
|
||||
path := strings.Replace(r.URL.Path, c.BaseURL+c.WebDavURL, "", 1)
|
||||
path := strings.Replace(r.URL.Path, c.WebDavURL, "", 1)
|
||||
path = u.Scope + "/" + path
|
||||
path = filepath.Clean(path)
|
||||
|
||||
|
||||
Reference in new issue
Block a user