Utilize escapeHtml

This commit is contained in:
Chocobo1
2017-02-11 15:06:15 +08:00
committed by sledgehammer999
parent 80f3b19356
commit 0356172a1d
4 changed files with 9 additions and 5 deletions

View File

@@ -311,7 +311,7 @@ var loadTorrentFilesData = function() {
var row = new Array();
row.length = 4;
row[0] = file.priority;
row[1] = file.name;
row[1] = escapeHtml(file.name);
row[2] = friendlyUnit(file.size, false);
row[3] = (file.progress * 100).round(1);
if (row[3] == 100.0 && file.progress < 1.0)