mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 16:22:20 +02:00
@@ -102,7 +102,8 @@ try
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
echo $e->GetMessage();
|
||||
// note: transform to cope with XSS attacks
|
||||
echo htmlentities($e->GetMessage(), ENT_QUOTES, 'utf-8');
|
||||
IssueLog::Error($e->getMessage());
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user