mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
parent
917ba45ca8
commit
fb4aba9d45
@ -43,7 +43,6 @@ func GetInfo(url *url.URL, c *config.Config, u *config.User) (*Info, int, error)
|
|||||||
i.VirtualPath = "/" + i.VirtualPath
|
i.VirtualPath = "/" + i.VirtualPath
|
||||||
|
|
||||||
i.Path = u.Scope + i.VirtualPath
|
i.Path = u.Scope + i.VirtualPath
|
||||||
i.Path = strings.Replace(i.Path, "\\", "/", -1)
|
|
||||||
i.Path = filepath.Clean(i.Path)
|
i.Path = filepath.Clean(i.Path)
|
||||||
|
|
||||||
info, err := os.Stat(i.Path)
|
info, err := os.Stat(i.Path)
|
||||||
|
Loading…
Reference in New Issue
Block a user