Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fixed XSS.
  • Loading branch information
petersirka committed Feb 13, 2019
1 parent ff81eb7 commit 75205f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/admin/public/ui.js
Expand Up @@ -559,7 +559,7 @@ COMPONENT('grid', 'filter:true;external:false;fillcount:50;filterlabel:Filtering
for (var j = 0, jl = columns.length; j < jl; j++) {
var column = columns[j];
var val = items[i][column.name];
m.value = column.template ? column.template(items[i], column) : column.render ? column.render(val, column, items[i]) : val == null ? '' : (column.format ? val.format(column.format) : val);
m.value = column.template ? column.template(items[i], column) : column.render ? column.render(val, column, items[i]) : val == null ? '' : Thelpers.encode((column.format ? val.format(column.format) : val));
m.index = j;
m.align = column.align;
m.background = column.background;
Expand Down

0 comments on commit 75205f9

Please sign in to comment.