fix another xss vuln
This commit is contained in:
parent
a5ec6a655b
commit
d549ab3592
1 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,9 @@ oml.ui.transfersPanel = function() {
|
||||||
align: Ox.contains([
|
align: Ox.contains([
|
||||||
'size', 'transferprogress'
|
'size', 'transferprogress'
|
||||||
], id) ? 'right' : 'left',
|
], id) ? 'right' : 'left',
|
||||||
format: key.format,
|
format: function(value) {
|
||||||
|
return Ox.encodeHTMLEntities(key.format(value));
|
||||||
|
},
|
||||||
id: id,
|
id: id,
|
||||||
operator: oml.getSortOperator(id),
|
operator: oml.getSortOperator(id),
|
||||||
title: Ox._(key.title),
|
title: Ox._(key.title),
|
||||||
|
|
Loading…
Reference in a new issue