From 3e89f5679ba325da83e18db5fa8d1199fff1443f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Prod=27homme?= Date: Fri, 8 Nov 2024 09:31:32 +0100 Subject: [PATCH] fix(cms): Allow spaces in `download_link` attribute --- cms/src/api/layer/content-types/layer/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/src/api/layer/content-types/layer/schema.json b/cms/src/api/layer/content-types/layer/schema.json index 8fe1508..ae9001c 100644 --- a/cms/src/api/layer/content-types/layer/schema.json +++ b/cms/src/api/layer/content-types/layer/schema.json @@ -45,7 +45,7 @@ }, "download_link": { "type": "string", - "regex": "^(https?:\\/\\/)?(www\\.)?[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-]+)+((\\/[\\w\\-\\._~:\\/\\?#\\[\\]@!$&'\\(\\)\\*+,;=]*)*)$" + "regex": "^(https?:\\/\\/)?(www\\.)?[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-]+)+((\\/[a-zA-Z0-9\\-._~:/?#\\[\\]@!$&'()*+,;=\\s%]*)*)$" } } }