You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
Major changes on API
This commit is contained in:
@@ -77,7 +77,7 @@ func command(c *requestContext, w http.ResponseWriter, r *http.Request) (int, er
|
||||
}
|
||||
|
||||
// Gets the path and initializes a buffer.
|
||||
path := c.us.scope + "/" + r.URL.Path
|
||||
path := c.us.Scope + "/" + r.URL.Path
|
||||
path = filepath.Clean(path)
|
||||
buff := new(bytes.Buffer)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user