Skip to content

Commit 8b9bf47

Browse files
committedAug 7, 2013
Fix stored XSS vulnerability in the serverlist
1 parent 7294f28 commit 8b9bf47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎util/master/list.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function success(r) {
4848
if (/:/.test(s.address)) s.address = '[' + s.address + ']';
4949
h += '<tr class="mts_row">';
5050
h += '<td class="mts_address">' + e(s.address) + (s.port != 30000 ? (':' + e(s.port)) : '') + '</td>';
51-
h += '<td class="mts_clients">' + e(s.clients) + (s.clients_max ? '/' + e(s.clients_max) : '') + (s.clients_top ? ', ' + s.clients_top : '') + '</td>';
51+
h += '<td class="mts_clients">' + e(s.clients) + (s.clients_max ? '/' + e(s.clients_max) : '') + (s.clients_top ? ', ' + e(s.clients_top) : '') + '</td>';
5252
var mods = 0;
5353
if (s.mods && jQuery.isArray(s.mods)) {
5454
mods = s.mods.length;

0 commit comments

Comments
 (0)
Please sign in to comment.