Browse Source

[Web] escapeHtml in relayhosts table

FreddleSpl0it 1 year ago
parent
commit
efb2572f0f
1 changed files with 4 additions and 1 deletions
  1. 4 1
      data/web/js/site/admin.js

+ 4 - 1
data/web/js/site/admin.js

@@ -397,7 +397,10 @@ jQuery(function($){
         {
           title: lang.host,
           data: 'hostname',
-          defaultContent: ''
+          defaultContent: '',
+          render: function (data, type) {
+            return escapeHtml(data);
+          }
         },
         {
           title: lang.username,