mirror of
https://github.com/fosrl/pangolin.git
synced 2025-05-14 14:20:42 +01:00
Allow . in path; resolves #199
This commit is contained in:
parent
a35e24bc0e
commit
f61d442989
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export function isValidUrlGlobPattern(pattern: string): boolean {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check for invalid characters
|
// Check for invalid characters
|
||||||
if (!/^[a-zA-Z0-9_*-]*$/.test(segment)) {
|
if (!/^[a-zA-Z0-9_.*-]*$/.test(segment)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue