[imp] base64 Error on IMP-CVS
Vincent Magnin
imp at lx-soft.com
Thu Jul 10 14:48:31 PDT 2003
Ok, I got a hack for this bug:
horde/lib/MIME/Part.php: line 1148
if ($encoding == 'base64') {
//Hack...
$temp = implode('', explode("\r", $contents));
$temp = implode('', explode("\n", $temp));
$temp = implode('', explode(" ", $temp));
$temp = chunk_split($temp);
$message = base64_decode($temp);
unset($temp);
} elseif ($encoding == 'quoted-printable') {
I've done the same hack on horde/lib/MIME.php and horde/lib/Serialize.php for
the base64_decode() function.
This works for me ;-)
Vincent
More information about the imp
mailing list