* Check if a URL matches a pattern with wildcard support
(url: string, pattern: string)
| 329 | * Check if a URL matches a pattern with wildcard support |
| 330 | */ |
| 331 | function urlMatchesPattern(url: string, pattern: string): boolean { |
| 332 | const regex = urlPatternToRegex(pattern) |
| 333 | return regex.test(url) |
| 334 | } |
| 335 | |
| 336 | /** |
| 337 | * Get the settings to use for MCP server allowlist policy. |
no test coverage detected