Skip to content

🎥 Make videos programmatically with React

Update validate-outname.ts

Jonny Burgerfafee20282b1
diff --git a/packages/lambda/src/shared/validate-outname.ts b/packages/lambda/src/shared/validate-outname.ts
index 1337e0a662..690e22ada6 100644
--- a/packages/lambda/src/shared/validate-outname.ts
+++ b/packages/lambda/src/shared/validate-outname.ts
@@ -10,6 +10,7 @@ const validateS3Key = (s3Key: string) => {
);
}
+ // https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html
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: " +