diff --git a/frontend/src/components/bucket/BucketChildConfig.vue b/frontend/src/components/bucket/BucketChildConfig.vue index 7af9c654..29511eee 100644 --- a/frontend/src/components/bucket/BucketChildConfig.vue +++ b/frontend/src/components/bucket/BucketChildConfig.vue @@ -26,8 +26,7 @@ const schema = object({ bucketName: string().required().max(255).label('Folder display name'), subKey: string() .required() - .matches(/^[^/\\]+$/, 'Folder sub-path must not contain back or forward slashes') - .label('Folder sub-path') + .matches(/^[^\\]+$/, { excludeEmptyString: true, message: 'Path must not contain backslashes' }) }); // Actions @@ -102,17 +101,19 @@ const onCancel = () => {