X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fmime.php;h=6ec1c6292e8a7b93b537cdab2738638e000b1958;hp=5ff5e79bcb1f92e0eadc462eae851aa6ba5dded6;hb=caf0ab1de11a5cafc878e424ef0d55dbc0350dd1;hpb=955bfc8f99a436cdc8197bd3b31ad645738be301
diff --git a/functions/mime.php b/functions/mime.php
index 5ff5e79b..6ec1c629 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-2019 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
@@ -60,17 +60,17 @@ function mime_structure ($bodystructure, $flags=array()) {
if (!is_object($msg)) {
global $color, $mailbox;
- /* removed urldecode because $_GET is auto urldecoded ??? */
displayPageHeader( $color, $mailbox );
$errormessage = _("SquirrelMail could not decode the bodystructure of the message");
$errormessage .= '
'._("The bodystructure provided by your IMAP server:").'
';
- $errormessage .= '
' . htmlspecialchars($read) . ''; - plain_error_message( $errormessage, $color ); + $errormessage .= '
' . sm_encode_html_special_chars($read) . ''; + plain_error_message( $errormessage ); echo '