Skip to content

Commit eb0e120

Browse files
author
latham
committed
Special Char issues with logs. I really think I have submitted this one fix several times.
1 parent fd72ba4 commit eb0e120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/monitor/show_log.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
if(isset($record['data'])) {
125125
$data = unserialize($record['data']);
126126

127-
$logData = nl2br($data);
127+
$logData = nl2br(htmlspecialchars($data));
128128

129129
$app->tpl->setVar("log_data", $logData);
130130
} else {

0 commit comments

Comments
 (0)