From e54163c2d5cc925eb56ead831f2fecd000222a98 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 22 Mar 2017 21:47:05 +0100 Subject: Relax on tags (accept any characters and not required anymore) --- server/initializers/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/initializers/constants.js') diff --git a/server/initializers/constants.js b/server/initializers/constants.js index 6c5287b19..40f01e389 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js @@ -85,7 +85,7 @@ const CONSTRAINTS_FIELDS = { EXTNAME: [ '.mp4', '.ogv', '.webm' ], INFO_HASH: { min: 40, max: 40 }, // Length, infohash is 20 bytes length but we represent it in hexa so 20 * 2 DURATION: { min: 1, max: 7200 }, // Number - TAGS: { min: 1, max: 3 }, // Number of total tags + TAGS: { min: 0, max: 3 }, // Number of total tags TAG: { min: 2, max: 10 }, // Length THUMBNAIL: { min: 2, max: 30 }, THUMBNAIL_DATA: { min: 0, max: 20000 }, // Bytes -- cgit v1.2.3