N°9232 - Information Disclosure (#850)

This commit is contained in:
Benjamin Dalsass
2026-03-20 14:35:05 +01:00
committed by GitHub
parent 006f666089
commit 170014e8f0

View File

@@ -2502,8 +2502,7 @@ EOF
$oKPI->ComputeAndReport('Data fetch and format');
$oPage->output();
} catch (Exception $e) {
// note: transform to cope with XSS attacks
echo utils::EscapeHtml($e->GetMessage());
echo utils::EscapeHtml(Dict::S('UI:PageTitle:FatalError'));
IssueLog::Error($e->getMessage()."\nDebug trace:\n".$e->getTraceAsString());
}