From 0abfaeda96c2eaa868cc7fc5fa1926dfa90fc420 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Wed, 30 Jan 2019 17:18:07 +0000 Subject: [FIX] website: prevent animation of anchor links with invalid fragment Also secure the anchor creation to only allow valid names, that is letters, digits, underscores and hyphens. task-1913458 closes odoo/odoo#30701 --- addons/website/static/src/xml/website.editor.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'addons/website/static/src/xml/website.editor.xml') diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml index 5b060389618..46d5de05c12 100644 --- a/addons/website/static/src/xml/website.editor.xml +++ b/addons/website/static/src/xml/website.editor.xml @@ -107,7 +107,10 @@
-
The chosen name already exists
+
+

The chosen name is not valid (use only a-Z A-Z 0-9 - _)

+

The chosen name already exists

+
-- cgit v1.2.3