Skip to content

🎥 Make videos programmatically with React

correct regex: outName in lambda may include a slash

Jonny Burger73ff2d496a06
diff --git a/packages/docs/docs/lambda/cli/render.md b/packages/docs/docs/lambda/cli/render.md
index 5cb554f95b..960c34fe9f 100644
--- a/packages/docs/docs/lambda/cli/render.md
+++ b/packages/docs/docs/lambda/cli/render.md
@@ -164,7 +164,7 @@ _available from v3.1_
### `--out-name`
-The file name of the media output as stored in the S3 bucket. By default, it is `out` plus the appropriate file extension, for example: `out.mp4`. Must match `/([0-9a-zA-Z-!_.*'()]+)/g`.
+The file name of the media output as stored in the S3 bucket. By default, it is `out` plus the appropriate file extension, for example: `out.mp4`. Must match `/([0-9a-zA-Z-!_.*'()/]+)/g`.
### `--overwrite`
diff --git a/packages/docs/docs/lambda/cli/still.md b/packages/docs/docs/lambda/cli/still.md
index 24b1ea84a6..2e9a01d0e2 100644
--- a/packages/docs/docs/lambda/cli/still.md
+++ b/packages/docs/docs/lambda/cli/still.md
@@ -75,7 +75,7 @@ How many times a single chunk is being retried if it fails to render. Default `1
### `--out-name`
-The file name of the media output as stored in the S3 bucket. By default, it is `out` plus the appropriate file extension, for example: `out.png`. Must match `/([0-9a-zA-Z-!_.*'()]+)/g`.
+The file name of the media output as stored in the S3 bucket. By default, it is `out` plus the appropriate file extension, for example: `out.png`. Must match `/([0-9a-zA-Z-!_.*'()/]+)/g`.
### `--quality`
diff --git a/packages/docs/docs/lambda/custom-destination.md b/packages/docs/docs/lambda/custom-destination.md
index 622f8acbeb..195a459f82 100644
--- a/packages/docs/docs/lambda/custom-destination.md
+++ b/packages/docs/docs/lambda/custom-destination.md
@@ -49,7 +49,7 @@ If you like to use this feature:
- You must extend the [default Remotion policy](/docs/lambda/permissions) to allow read and write access to that bucket.
- The bucket must be in the same region.
- When calling APIs such as [`downloadMedia()`](/docs/lambda/downloadmedia) or [`getRenderProgress()`](/docs/lambda/getrenderprogress), you must pass the `bucketName` where the site resides in, not the bucket where the video gets saved.
-- The `key` must match `/^([0-9a-zA-Z-!_.*'()]+)$/g`
+- The `key` must match `/^([0-9a-zA-Z-!_.*'()/]+)$/g`
- The bucketName must match `/^(?=^.{3,63}$)(?!^(\d+\.)+\d+$)(^(([a-z0-9]|[a-z0-9][a-z0-9-]*[a-z0-9])\.)*([a-z0-9]|[a-z0-9][a-z0-9-]*[a-z0-9])$)/`.
This feature is not supported from the CLI.