Former-commit-id: 8b665c8ef9
This commit is contained in:
Henrique Dias 2017-02-19 12:28:12 +00:00
parent 917ba45ca8
commit fb4aba9d45

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)