From aadd378bf5cd59db5af09b3e28699dcd8c18ce3b Mon Sep 17 00:00:00 2001 From: Bernhard Rusch Date: Tue, 31 Aug 2021 10:38:12 +0200 Subject: [PATCH] [Document] SEO editor - encode text values properly --- .../Resources/public/js/pimcore/document/seopanel.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundles/AdminBundle/Resources/public/js/pimcore/document/seopanel.js b/bundles/AdminBundle/Resources/public/js/pimcore/document/seopanel.js index ffb43821530..9b5394887a9 100644 --- a/bundles/AdminBundle/Resources/public/js/pimcore/document/seopanel.js +++ b/bundles/AdminBundle/Resources/public/js/pimcore/document/seopanel.js @@ -74,14 +74,17 @@ pimcore.document.seopanel = Class.create({ xtype: 'treecolumn', text: t("name"), dataIndex: 'text', + renderer: Ext.util.Format.htmlEncode, width: 300 },{ text: t("pretty_url"), dataIndex: 'prettyUrl', + renderer: Ext.util.Format.htmlEncode, width: 180 },{ text: t("title"), dataIndex: 'title', + renderer: Ext.util.Format.htmlEncode, width: 230 },{ text: t("length"), @@ -90,6 +93,7 @@ pimcore.document.seopanel = Class.create({ },{ text: t("description"), dataIndex: 'description', + renderer: Ext.util.Format.htmlEncode, width: 400 },{ text: t("length"),