From 49255dcd4fd08bad0ed3eb1e89c6a6284a885fcd Mon Sep 17 00:00:00 2001 From: gustavf Date: Tue, 13 Mar 2001 15:19:56 +0000 Subject: [PATCH] Fixed bug: Only characters having odd numbers where encoded in encodeHeader. Introduced in CVS revision 1.76 of the file, which refers to patch #10265, but I was unable to find this patch. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1193 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/functions/mime.php b/functions/mime.php index 0ebe0d95..c9623c06 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -725,7 +725,6 @@ // Encode only if the string contains 8-bit characters or =? if (ereg("([\200-\377]|=\\?)", $string)) { - $newstring = "=?$default_charset?Q?"; // First the special characters $string = str_replace("=", "=3D", $string); @@ -737,7 +736,6 @@ $replace = chr($ch); $insert = sprintf("=%02X", $ch); $string = str_replace($replace, $insert, $string); - $ch++; } $newstring = "=?$default_charset?Q?".$string."?="; -- 2.25.1