fix(http): canonicalize paths before checking access rules (#6045)
This commit is contained in:
1 parent
41e2b1bbba
commit
e6d70cf24c
15 files changed
+403
-31
No files matched your search
@@ -63,6 +63,11 @@ type Server struct {
|
||||
AuthHook string `json:"authHook"`
|
||||
TokenExpirationTime string `json:"tokenExpirationTime"`
|
||||
FollowExternalSymlinks bool `json:"followExternalSymlinks"`
|
||||
|
||||
// CaseInsensitiveFs is detected from Root at startup rather than
|
||||
// configured, and tells the rule checker to match paths case-insensitively.
|
||||
// It is never persisted.
|
||||
CaseInsensitiveFs bool `json:"-"`
|
||||
}
|
||||
|
||||
// Clean cleans any variables that might need cleaning.
|
||||
|
||||
Reference in new issue
Block a user