Allow matching parts of words in path

Resolves #228
This commit is contained in:
Owen 2025-03-08 11:43:47 -05:00
parent 535b4e1fb1
commit 33ff2fbf3b
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
2 changed files with 29 additions and 8 deletions

View file

@ -29,11 +29,6 @@ export function isValidUrlGlobPattern(pattern: string): boolean {
return false;
}
// If segment contains *, it must be exactly *
if (segment.includes("*") && segment !== "*") {
return false;
}
// Check each character in the segment
for (let j = 0; j < segment.length; j++) {
const char = segment[j];