From: pdontthink Date: Wed, 19 Jun 2013 07:44:53 +0000 (+0000) Subject: Note a bug X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=821d1f1424ce74d60ae3b6e357a148658f17424e;p=squirrelmail.git Note a bug git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14385 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mime.php b/functions/mime.php index 15b456c4..3ed5ab82 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -806,6 +806,7 @@ function decodeHeader ($string, $utfencode=true,$htmlsafe=true,$decide=false) { $iLastMatch = -2; $encoded = true; +// FIXME: spaces are allowed inside quoted-printable encoding, but the following line will bust up any such encoded strings $aString = explode(' ',$string); $ret = ''; foreach ($aString as $chunk) {