Should fix XSS mentioned in #32

This commit is contained in:
Garry Newman
2021-02-20 11:37:58 +00:00
parent 757dc3bd95
commit 3d8b4e0fea
2 changed files with 6 additions and 5 deletions
+2
View File
@@ -134,6 +134,8 @@ function ConsoleController( $scope, rconService, $timeout )
$scope.addOutput = function (msg)
{
msg.Class = msg.Type;
msg.Message = stripHtml(msg.Message);
$scope.Output.push( msg );
if($scope.isOnBottom()) {