summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-12-07 14:45:09 -0800
committerElizabeth Hunt <me@liz.coffee>2025-12-07 14:45:09 -0800
commita2f0c15d53fa70aaaf5ad9e00beb440879a2fd87 (patch)
tree70b3699d271fbf4f16c79cbafc8f9a454962f236
parent2f805028d10d88375b42af6ff584229182e2e6bc (diff)
downloadpengueno-a2f0c15d53fa70aaaf5ad9e00beb440879a2fd87.tar.gz
pengueno-a2f0c15d53fa70aaaf5ad9e00beb440879a2fd87.zip
Allow url params in exec identifiers
-rw-r--r--lib/process/validate_identifier.ts2
-rw-r--r--package.json2
2 files changed, 2 insertions, 2 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
diff --git a/package.json b/package.json
index d2e5b9e..6686eef 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@emprespresso/pengueno",
- "version": "0.0.15",
+ "version": "0.0.16",
"description": "emprespresso pengueno utils",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",