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

+2
View File
@@ -106,6 +106,8 @@ func withUser(fn handleFunc) handleFunc {
if err != nil {
return http.StatusInternalServerError, err
}
canonicalizeRequestPath(r)
return fn(w, r, d)
}
}