From: fidian Date: Thu, 13 Sep 2001 00:31:04 +0000 (+0000) Subject: Removed weird patch. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=a47b520015e40ef08d6e58794079e7b7ffebfb28;hp=bb7bf119d59386bb965676cf230a0bf539e61a02 Removed weird patch. :-) This isn't what I suggested (even though the submitter of the patch thought so). git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1505 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mime.php b/functions/mime.php index 345e0524..044a486c 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -691,16 +691,7 @@ $body = base64_decode($body); } - switch($show_html_default) { - case '1': // Safe HTML - // Philippe's code - break; - case '2': // Any HTML - break; - default: // No HTML - $body = str_replace('<', '<', $body); - break; - } + // All other encodings are returned raw. return $body; }