stekkel 23 лет назад
Родитель
Сommit
2487cf51be
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      functions/mime.php

+ 1 - 1
functions/mime.php

@@ -40,7 +40,7 @@ function mime_structure ($bodystructure, $flags=array()) {
          '<CENTER>';
          '<CENTER>';
 	$errormessage = _("Squirrelmail could not decode the bodystructure of the message");
 	$errormessage = _("Squirrelmail could not decode the bodystructure of the message");
 	$errormessage .= '<BR>'._("the provided bodystructure by your imap-server").':<BR><BR>';
 	$errormessage .= '<BR>'._("the provided bodystructure by your imap-server").':<BR><BR>';
-        $errormessage .= '<table><tr><td>'.$read.'</td></tr></table>';
+        $errormessage .= '<table><tr><td>'.htmlspecialchars($read).'</td></tr></table>';
         plain_error_message( $errormessage, $color );
         plain_error_message( $errormessage, $color );
 	echo '</body></html>';
 	echo '</body></html>';
         exit;
         exit;