Skip to content

Commit

Permalink
Fix Xss in the Search Documents
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaantony92 authored and dvesh3 committed Jul 17, 2023
1 parent 43e8013 commit 92811f0
Showing 1 changed file with 10 additions and 1 deletion.
Expand Up @@ -199,7 +199,16 @@ pimcore.element.selector.document = Class.create(pimcore.element.selector.abstra
{text: 'ID', width: 40, sortable: true, dataIndex: 'id', hidden: true},
{text: t("published"), width: 40, sortable: true, dataIndex: 'published', hidden: true},
{text: t("path"), flex: 200, sortable: true, dataIndex: 'fullpath'},
{text: t("title"), flex: 200, sortable: false, dataIndex: 'title', hidden: false},
{
text: t("title"),
flex: 200,
sortable: false,
dataIndex: 'title',
hidden: false,
renderer: function (value) {
return Ext.util.Format.htmlEncode(value);
}
},
{text: t("description"), width: 200, sortable: false, dataIndex: 'description', hidden: true},
{text: t("filename"), width: 200, sortable: true, dataIndex: 'filename', hidden: true}
];
Expand Down

0 comments on commit 92811f0

Please sign in to comment.