fix xss vulnerability in group count tooltip, resolves #2725

This commit is contained in:
Leigh Johnson 2016-07-01 08:51:30 -04:00
parent 2ff5efda3b
commit bc09e42fbe

View File

@ -61,7 +61,7 @@ export default
type: 'badgeCount',
ngHide: 'group.total_groups == 0',
noLink: true,
awToolTip: "{{group.name}} contains {{group.total_groups}} {{group.total_groups === 1 ? 'child' : 'children'}}",
awToolTip: "{{group.name | sanitize}} contains {{group.total_groups}} {{group.total_groups === 1 ? 'child' : 'children'}}",
searchable: false,
},
source: {