Updates on auth and db

This commit is contained in:
Henrique Dias committed 2017-07-03 08:59:49 +01:00
1 parent 1d235c9852
commit 6312c60b2e
10 files changed
+303 -272

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ func search(c *requestContext, w http.ResponseWriter, r *http.Request) (int, err
search = parseSearch(value)
scope := strings.TrimPrefix(r.URL.Path, "/")
scope = "/" + scope
scope = c.us.Scope + scope
scope = string(c.us.FileSystem) + scope
scope = strings.Replace(scope, "\\", "/", -1)
scope = filepath.Clean(scope)