Skip to content

🎥 Make videos programmatically with React

add even more characters

Jonny Burger3c51c482d29c
diff --git a/packages/lambda/src/shared/validate-outname.ts b/packages/lambda/src/shared/validate-outname.ts
index 9c8fdb20f4..1337e0a662 100644
--- a/packages/lambda/src/shared/validate-outname.ts
+++ b/packages/lambda/src/shared/validate-outname.ts
@@ -10,9 +10,9 @@ const validateS3Key = (s3Key: string) => {
);
}
- if (!s3Key.match(/^([0-9a-zA-Z-!_.*'()/:]+)$/g)) {
+ if (!s3Key.match(/^([0-9a-zA-Z-!_.*'()/:&$@=;+,?]+)/g)) {
throw new Error(
- "The S3 Key must match the RegExp `/([0-9a-zA-Z-!_.*'()/:]+)/g`. You passed: " +
+ "The S3 Key must match the RegExp `/^([0-9a-zA-Z-!_.*'()/:&$@=;+,?]+)/g`. You passed: " +
s3Key +
'. Check for invalid characters.'
);