This commit is contained in:
AntiPontifex 2023-11-30 11:32:49 -05:00
commit 4abefeea6d

View file

@ -7,7 +7,7 @@ module.exports = {
.regex(/^[A-Za-z0-9]+\.[a-z]{2}$/) .regex(/^[A-Za-z0-9]+\.[a-z]{2}$/)
.required(), .required(),
name: Joi.string() name: Joi.string()
.regex(/^[a-z0-9-!:&.+'/»#%°$@?|¡–\s]+$/i) .regex(/^[a-z0-9-!:&.+'/»#%°$@?|¡–\s_—]+$/i)
.required(), .required(),
alt_names: Joi.array().items( alt_names: Joi.array().items(
Joi.string() Joi.string()