diff options
| author | Elizabeth Hunt <me@liz.coffee> | 2025-12-07 14:45:09 -0800 |
|---|---|---|
| committer | Elizabeth Hunt <me@liz.coffee> | 2025-12-07 14:45:09 -0800 |
| commit | a2f0c15d53fa70aaaf5ad9e00beb440879a2fd87 (patch) | |
| tree | 70b3699d271fbf4f16c79cbafc8f9a454962f236 /lib/process/validate_identifier.ts | |
| parent | 2f805028d10d88375b42af6ff584229182e2e6bc (diff) | |
| download | pengueno-a2f0c15d53fa70aaaf5ad9e00beb440879a2fd87.tar.gz pengueno-a2f0c15d53fa70aaaf5ad9e00beb440879a2fd87.zip | |
Allow url params in exec identifiers
Diffstat (limited to 'lib/process/validate_identifier.ts')
| -rw-r--r-- | lib/process/validate_identifier.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/process/validate_identifier.ts b/lib/process/validate_identifier.ts index 1ff3791..4f303b6 100644 --- a/lib/process/validate_identifier.ts +++ b/lib/process/validate_identifier.ts @@ -1,7 +1,7 @@ import { Either, type IEither } from '@emprespresso/pengueno'; export const validateIdentifier = (token: string) => { - return /^[a-zA-Z0-9_\-:. \/]+$/.test(token) && !token.includes('..'); + return /^[a-zA-Z0-9_\?\&\=\-:. \/]+$/.test(token) && !token.includes('..'); }; // ensure {@param obj} is a Record<string, string> with stuff that won't |
