Skip to content
Snippets Groups Projects
Commit eb0e1202 authored by latham's avatar latham
Browse files

Special Char issues with logs. I really think I have submitted this one fix several times.

parent fd72ba47
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ $record = $app->db->queryOneRecord("SELECT data, state FROM monitor_data WHERE t
if(isset($record['data'])) {
$data = unserialize($record['data']);
$logData = nl2br($data);
$logData = nl2br(htmlspecialchars($data));
$app->tpl->setVar("log_data", $logData);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment