mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-15 15:12:35 +02:00
parent
535b4e1fb1
commit
33ff2fbf3b
2 changed files with 29 additions and 8 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue