You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-08-06 22:42:56 +02:00
@ -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
|
||||
|
Reference in New Issue
Block a user