diff --git a/matcher.go b/matcher.go index 94d6c5ec..eb1b2f81 100644 --- a/matcher.go +++ b/matcher.go @@ -59,3 +59,12 @@ func containsToken(value string, tokens []string) bool { return false } +func matchesBlockedPath(paths, blockedPaths []string) bool { + for _, requestPath := range paths { + if pathMatchesAny(requestPath, blockedPaths) { + return true + } + } + return false +} +