From eb0e12027eecd83c7f573b19cd7b4204ffa208ce Mon Sep 17 00:00:00 2001 From: latham <latham@ispconfig3> Date: Fri, 04 Nov 2011 09:52:57 -0400 Subject: [PATCH] Special Char issues with logs. I really think I have submitted this one fix several times. --- interface/web/monitor/show_log.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/monitor/show_log.php b/interface/web/monitor/show_log.php index c033c9c..10abacd 100644 --- a/interface/web/monitor/show_log.php +++ b/interface/web/monitor/show_log.php @@ -124,7 +124,7 @@ if(isset($record['data'])) { $data = unserialize($record['data']); - $logData = nl2br($data); + $logData = nl2br(htmlspecialchars($data)); $app->tpl->setVar("log_data", $logData); } else { -- Gitblit v1.9.1