From c986b1d7eb93937cce455a336335d124c1042e7b Mon Sep 17 00:00:00 2001 From: demo-bot Date: Wed, 22 Apr 2026 14:22:53 +0530 Subject: [PATCH 1/3] fix: use X-Forwarded-Uri if it exists for pathRegex match --- oauthproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauthproxy.go b/oauthproxy.go index cfba6934..73002fd1 100644 --- a/oauthproxy.go +++ b/oauthproxy.go @@ -700,7 +700,7 @@ func (p *OAuthProxy) IsAllowedRequest(req *http.Request) bool { // IsAllowedRoute is used to check if the request method & path is allowed without auth func (p *OAuthProxy) isAllowedRoute(req *http.Request) bool { for _, route := range p.allowedRoutes { - if (route.method == "" || req.Method == route.method) && route.pathRegex.MatchString(req.URL.Path) { + if (route.method == "" || req.Method == route.method) && route.pathRegex.MatchString(util.GetRequestURI(req)) { return true } } From 07a478e1d5d03d8972be547750abc1d06d2376ec Mon Sep 17 00:00:00 2001 From: demo-bot Date: Wed, 22 Apr 2026 18:18:50 +0530 Subject: [PATCH 2/3] chore: retrigger fresh scan From 0047d34bc347c34466dd5d3ba53c8c0e50356493 Mon Sep 17 00:00:00 2001 From: demo-bot Date: Wed, 22 Apr 2026 23:21:15 +0530 Subject: [PATCH 3/3] chore: retrigger fresh scan