1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-08-06 22:42:56 +02:00

Merge commit from fork

Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
Jan Larwig
2025-07-30 19:46:58 +02:00
committed by GitHub
parent f4b33b64bd
commit 9ffafad4b2
4 changed files with 85 additions and 14 deletions

View File

@ -580,7 +580,7 @@ func isAllowedMethod(req *http.Request, route allowedRoute) bool {
}
func isAllowedPath(req *http.Request, route allowedRoute) bool {
matches := route.pathRegex.MatchString(requestutil.GetRequestURI(req))
matches := route.pathRegex.MatchString(requestutil.GetRequestPath(req))
if route.negate {
return !matches