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
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment