1 parent
f917b4222c
commit
475a07671d
8 files changed
+25
-25
No files matched your search
+1
-1
@@ -71,7 +71,7 @@ func search(w http.ResponseWriter, r *http.Request, c *FileManager, u *user) (in
|
||||
}
|
||||
|
||||
search = parseSearch(value)
|
||||
scope := strings.Replace(r.URL.Path, c.BaseURL, "", 1)
|
||||
scope := strings.Replace(r.URL.Path, c.baseURL, "", 1)
|
||||
scope = strings.TrimPrefix(scope, "/")
|
||||
scope = "/" + scope
|
||||
scope = u.scope + scope
|
||||
|
||||
Reference in new issue
Block a user