fix another xss vuln

This commit is contained in:
rlx 2016-01-17 15:53:50 +05:30
parent a5ec6a655b
commit d549ab3592

View file

@ -14,7 +14,9 @@ oml.ui.transfersPanel = function() {
align: Ox.contains([
'size', 'transferprogress'
], id) ? 'right' : 'left',
format: key.format,
format: function(value) {
return Ox.encodeHTMLEntities(key.format(value));
},
id: id,
operator: oml.getSortOperator(id),
title: Ox._(key.title),