Skip to content

Commit

Permalink
Security fix in Properties Parameter (#14825)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaantony92 committed Apr 18, 2023
1 parent fb3056a commit 9fc6748
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -98,7 +98,7 @@ pimcore.document.editables.link = Class.create(pimcore.document.editable, {
text = this.data.path;
}
if (this.data.path || this.data.anchor || this.data.parameters) {
let fullpath = this.data.path + (this.data.parameters ? '?' + this.data.parameters : '') + (this.data.anchor ? '#' + this.data.anchor : '');
let fullpath = this.data.path + (this.data.parameters ? '?' + Ext.util.Format.htmlEncode(this.data.parameters) : '') + (this.data.anchor ? '#' + Ext.util.Format.htmlEncode(this.data.anchor) : '');
let displayHtml = Ext.util.Format.htmlEncode(text);

if (this.config.textPrefix !== undefined) {
Expand Down

0 comments on commit 9fc6748

Please sign in to comment.