alecpl
2011-09-12 66a3b034193ceef1315ab68ceaf6789ccbf882eb
program/include/rcube_imap.php
@@ -2386,6 +2386,9 @@
            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)