update comments and unexport some fields
Former-commit-id: 716d6d7e7a1e3c676dbc4a56d1576eee1aabb0a3
This commit is contained in:
2
info.go
2
info.go
@@ -41,7 +41,7 @@ func GetInfo(url *url.URL, c *FileManager, u *User) (*FileInfo, error) {
|
||||
i.VirtualPath = strings.TrimPrefix(i.VirtualPath, "/")
|
||||
i.VirtualPath = "/" + i.VirtualPath
|
||||
|
||||
i.Path = u.Scope + i.VirtualPath
|
||||
i.Path = u.scope + i.VirtualPath
|
||||
i.Path = filepath.Clean(i.Path)
|
||||
|
||||
info, err := os.Stat(i.Path)
|
||||
|
||||
Reference in New Issue
Block a user