Ignore:
Timestamp:
Jun 11, 2018, 4:51:30 PM (6 years ago)
Author:
alloc
Message:

Fixed #152: XSS attacks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/webserver/js/players.js

    r288 r320  
    2727                [ "entityid", "EntityID" ],
    2828                [ "ip", "IP" ],
    29                 [ "name", "Name" ],
     29                [ "name", "Name",
     30                        function(text, data) {
     31                                return $("<div>").text(text).html();
     32                        }
     33                ],
    3034                [ "online", "Online", null,
    3135                        function(text, data) {
Note: See TracChangeset for help on using the changeset viewer.