diff --git a/lib/validate.js b/lib/validate.js index ea1fa25c8f..0eaf3570fb 100644 --- a/lib/validate.js +++ b/lib/validate.js @@ -258,7 +258,7 @@ export function linkSchema (args) { return object({ title: titleValidator, text: textValidator(MAX_POST_TEXT_LENGTH), - url: string().url().required('required'), + url: string().https().required('required'), ...advPostSchemaMembers(args), ...subSelectSchemaMembers(args) }).test({