X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a6fff3efaf195a82d9d912fa9ab134a9d9e05c48..aa2fde93e604c3f04b3a228d68b9627d79e6ba76:/src/validators/validators.tsx

diff --git a/src/validators/validators.tsx b/src/validators/validators.tsx
index d9eca97f4c..81fed2cccc 100644
--- a/src/validators/validators.tsx
+++ b/src/validators/validators.tsx
@@ -6,7 +6,7 @@ import { require } from './require';
 import { maxLength } from './max-length';
 import { isRsaKey } from './is-rsa-key';
 import { isRemoteHost } from "./is-remote-host";
-import { validName, validNameAllowSlash } from "./valid-name";
+import { validFilePath, validName, validNameAllowSlash } from "./valid-name";
 
 export const TAG_KEY_VALIDATION = [require, maxLength(255)];
 export const TAG_VALUE_VALIDATION = [require, maxLength(255)];
@@ -21,6 +21,7 @@ export const COLLECTION_PROJECT_VALIDATION = [require];
 
 export const COPY_NAME_VALIDATION = [require, maxLength(255)];
 export const COPY_FILE_VALIDATION = [require];
+export const RENAME_FILE_VALIDATION = [require, validFilePath];
 
 export const MOVE_TO_VALIDATION = [require];
 
