- Fix handling of binary attachments encoded with quoted-printable (#1488065)

release-0.7
alecpl 15 years ago
parent 5f129dd053
commit 66a3b03419

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Fix handling of binary attachments encoded with quoted-printable (#1488065)
- Fix text-overflow:ellipsis issues on messages list in FF7 and Webkit (#1488061)
- Fix setting title for truncated subject in IE (#1487128)
- Fix handling of links with IP address

@ -2386,6 +2386,9 @@ class rcube_imap
return true;
}
// Remove NULL characters (#1486189)
$body = str_replace("\x00", '', $body);
// convert charset (if text or message part)
if ($body && !$skip_charset_conv &&
preg_match('/^(text|message)$/', $o_part->ctype_primary)

@ -2470,8 +2470,6 @@ class rcube_imap_generic
} else if ($mode == 2) {
$line = rtrim($line, "\t\r\0\x0B");
$line = quoted_printable_decode($line);
// Remove NULL characters (#1486189)
$line = str_replace("\x00", '', $line);
// UUENCODE
} else if ($mode == 3) {
$line = rtrim($line, "\t\r\n\0\x0B");

Loading…
Cancel
Save