diff --git a/public_html/includes/class/class.LSerror.php b/public_html/includes/class/class.LSerror.php index 8c41d1a6..ee7514e5 100644 --- a/public_html/includes/class/class.LSerror.php +++ b/public_html/includes/class/class.LSerror.php @@ -132,7 +132,7 @@ class LSerror { * @retvat string Le texte des erreurs */ private static function getError($error) { - return "(Code ".$error[0].") ".getFData(self :: $_errorCodes[$error[0]]['msg'],$error[1]); + return "(Code ".htmlentities($error[0]).") ".htmlentities(getFData(self :: $_errorCodes[$error[0]]['msg'],$error[1])); } /** diff --git a/public_html/includes/class/class.LSsession.php b/public_html/includes/class/class.LSsession.php index 79ee5ced..a7482c9d 100644 --- a/public_html/includes/class/class.LSsession.php +++ b/public_html/includes/class/class.LSsession.php @@ -1424,12 +1424,7 @@ class LSsession { // Infos if((!empty($_SESSION['LSsession_infos']))&&(is_array($_SESSION['LSsession_infos']))) { - $txt_infos="
'.print_r($debug,true).'
'.htmlentities(print_r($debug,true)).'
'.$debug.'
'.htmlentities(strval($debug)).'