X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fmime.php;h=56ee0d47c3320ad1b57e88eb8f1519d0aa346bd6;hp=1fff67ed2fa687812a0df7f2c442b9c22dfcc2bb;hb=24e8917ead46268f6a4264900c832b4a5c37ee84;hpb=8439f61d2eaaf3aa5fb0b911e3b410d70232c1c8
diff --git a/functions/mime.php b/functions/mime.php
index 1fff67ed..56ee0d47 100644
--- a/functions/mime.php
+++ b/functions/mime.php
@@ -6,7 +6,7 @@
* This contains the functions necessary to detect and decode MIME
* messages.
*
- * @copyright 1999-2012 The SquirrelMail Project Team
+ * @copyright 1999-2020 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
@@ -63,7 +63,7 @@ function mime_structure ($bodystructure, $flags=array()) {
displayPageHeader( $color, $mailbox );
$errormessage = _("SquirrelMail could not decode the bodystructure of the message");
$errormessage .= '
'._("The bodystructure provided by your IMAP server:").'
';
- $errormessage .= '
' . htmlspecialchars($read) . ''; + $errormessage .= '
' . sm_encode_html_special_chars($read) . ''; plain_error_message( $errormessage ); echo '