This commit is contained in:
Henrique Dias 2017-02-19 12:28:12 +00:00
parent 59a14c45a0
commit 8b665c8ef9

View File

@ -43,7 +43,6 @@ func GetInfo(url *url.URL, c *config.Config, u *config.User) (*Info, int, error)
i.VirtualPath = "/" + i.VirtualPath
i.Path = u.Scope + i.VirtualPath
i.Path = strings.Replace(i.Path, "\\", "/", -1)
i.Path = filepath.Clean(i.Path)
info, err := os.Stat(i.Path)