summaryrefslogtreecommitdiff
path: root/framework/Log/TLogRouter.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Log/TLogRouter.php')
-rw-r--r--framework/Log/TLogRouter.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Log/TLogRouter.php b/framework/Log/TLogRouter.php
index 177d1894..3b8bef94 100644
--- a/framework/Log/TLogRouter.php
+++ b/framework/Log/TLogRouter.php
@@ -623,6 +623,7 @@ EOD;
$delta = sprintf('%0.6f', $info['delta']);
$color = $this->getColorLevel($log[1]);
$msg = preg_replace('/\(line[^\)]+\)$/','',$log[0]); //remove line number info
+ $msg = THttpUtility::htmlEncode($msg);
$string = <<<EOD
<tr style="background-color: {$bgcolor};">
<td style="border:1px solid silver;background-color: $color;">&nbsp;</td>