Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Commit 027725d

Browse files
authored
Merge pull request #2049 from jbennie44/W-5234018
W-5234018 - Fix XSS vulnerability in email admin screen
2 parents 5f96ade + e5f2d75 commit 027725d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.bowerrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"registry": "https://registry.bower.io"
3+
}

js/tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
.removeClass('hide hidden')// jQuery deprecated hide in 3.0. Use hidden instead. Leaving hide here to support previous markup
160160
.removeData('template')
161161
.removeAttr('data-template');
162-
$entity.find('.tree-' + nodeType + '-name > .tree-label').html(treeNode.text || treeNode.name);
162+
$entity.find('.tree-' + nodeType + '-name > .tree-label')[self.options.html ? 'html' : 'text'](treeNode.text || treeNode.name);
163163
$entity.data(treeNode);
164164

165165

0 commit comments

Comments
 (0)