fix(http): canonicalize paths before checking access rules (#6045)

This commit is contained in:
Henrique Dias authored and GitHub committed 2026-07-26 10:00:18 +02:00
1 parent 41e2b1bbba
commit e6d70cf24c
15 files changed
+403 -31

No files matched your search

+5
View File
@@ -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.