From 30d10b6f11e055bec0793c88f6f4ee72585e5efb Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Tue, 12 May 2020 09:40:58 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02990=20Security=20hardening?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/audit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/audit.php b/pages/audit.php index d4558bef1..c60216783 100644 --- a/pages/audit.php +++ b/pages/audit.php @@ -353,7 +353,7 @@ try $aRow['nb_errors'] = "n/a"; $aRow['percent_ok'] = ''; $aRow['class'] = 'red'; - $sMessage = Dict::Format('UI:Audit:ErrorIn_Category_Reason', $oAuditCategory->GetHyperlink(), $e->getMessage()); + $sMessage = Dict::Format('UI:Audit:ErrorIn_Category_Reason', $oAuditCategory->GetHyperlink(), utils::HtmlEntities($e->getMessage())); $oP->p(" ".$sMessage); $aResults[] = $aRow;