X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fmime.php;h=6182250fe3b2421c19e2707238dfcbf97bb72d5d;hp=b1a9293edfc722814f27907f7e733663aeacfd26;hb=5c55c29540e62b101fcebdb779daf3309bde2709;hpb=d4467150fe5126007ae625edb14ae757dbd687a0;ds=sidebyside
diff --git a/functions/mime.php b/functions/mime.php
index b1a9293e..6182250f 100644
--- a/functions/mime.php
+++ b/functions/mime.php
@@ -6,7 +6,7 @@
function decodeMime($body, $bound, $type0, $type1) {
- echo "$type0/$type1
";
+// echo "$type0/$type1
";
if ($type0 == "multipart") {
if ($body[0] == "")
$i = 1;
@@ -42,7 +42,7 @@
/** This gets one entity's properties **/
function getEntity($body, $bound, $type0, $type1, $encoding, $charset) {
- echo "$type0/$type1
";
+// echo "$type0/$type1
";
$msg[0]["TYPE0"] = $type0;
$msg[0]["TYPE1"] = $type1;
$msg[0]["ENCODING"] = $encoding;
@@ -125,6 +125,9 @@
$body[$q] = "$body[$q]\n"; // maybe should be \n.. dunno
}
}
+ for ($q=0;$q < count($body);$q++) {
+ $body[$q] = ereg_replace("=3D", "=", $body[$q]);
+ }
$newbody = $body;
} else {
$newbody = $body;