We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb3056a commit 9fc6748Copy full SHA for 9fc6748
bundles/AdminBundle/Resources/public/js/pimcore/document/editables/link.js
@@ -98,7 +98,7 @@ pimcore.document.editables.link = Class.create(pimcore.document.editable, {
98
text = this.data.path;
99
}
100
if (this.data.path || this.data.anchor || this.data.parameters) {
101
- 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) : '');
102
let displayHtml = Ext.util.Format.htmlEncode(text);
103
104
if (this.config.textPrefix !== undefined) {
0 commit comments