summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap_generic.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-09-12 08:49:47 +0000
committeralecpl <alec@alec.pl>2011-09-12 08:49:47 +0000
commit66a3b034193ceef1315ab68ceaf6789ccbf882eb (patch)
tree8386a41852ae6f8ffd8b6e533f4edf456f1ed417 /program/include/rcube_imap_generic.php
parent5f129dd05313d2d697941bc2a0afbe44c9d3a138 (diff)
- Fix handling of binary attachments encoded with quoted-printable (#1488065)
Diffstat (limited to 'program/include/rcube_imap_generic.php')
-rw-r--r--program/include/rcube_imap_generic.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php
index 65b20254e..be520d3b1 100644
--- a/program/include/rcube_imap_generic.php
+++ b/program/include/rcube_imap_generic.php
@@ -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");