X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fmime.php;h=a140f7bcc41a80fe64df37fc10117507b31ddd03;hp=c151ecf6f5cb2d6d30c52a7426fad33f3827ccc0;hb=7196da62c367f48f8840828e53187db824c3f1f4;hpb=515547081d52328045a174ded166ef2c3cbf55f5
diff --git a/functions/mime.php b/functions/mime.php
index c151ecf6..a140f7bc 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-2007 The SquirrelMail Project Team
+ * @copyright 1999-2018 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 '