git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4713
7612ce4b-ef26-0410-bec9-
ea0150e637f0
switch ($char) {
case '=':
if (preg_match('/^(=\?([^?]*)\?(Q|B)\?([^?]*)\?=)(.*)/Ui',substr($address,$pos),$reg)) {
+ if (!$personal) {
+ $personal = substr($address,0,$pos);
+ }
$personal .= $reg[1];
$pos += strlen($personal);
}
$encoded = false;
$aString[$i] = '';
while (preg_match('/^(.*)=\?([^?]*)\?(Q|B)\?([^?]*)\?=(.*)$/Ui',$chunk,$res)) {
- //$aString[$i] .= $res[1];
+ $aString[$i] .= $res[1];
//echo "$chunk match ". $res[5] . "<br>";
$encoding = ucfirst($res[3]);
switch ($encoding)