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
@@ -106,6 +106,8 @@ func withUser(fn handleFunc) handleFunc {
|
||||
if err != nil {
|
||||
return http.StatusInternalServerError, err
|
||||
}
|
||||
|
||||
canonicalizeRequestPath(r)
|
||||
return fn(w, r, d)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user