X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fmime.php;h=227b0ab63fc49f6ba5561a171a1a0415e0920dfb;hb=6ab8321f9c45946886a5c34a2df36f418b9aed3a;hp=5a5ad4d05313fc469807b5ba8ea6d2394f931797;hpb=d849b5708d56913f760bf1fa7a377d602935a9cd;p=squirrelmail.git
diff --git a/functions/mime.php b/functions/mime.php
index 5a5ad4d0..227b0ab6 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-2006 The SquirrelMail Project Team
+ * @copyright 1999-2013 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 '