alecpl
2011-09-13 f593222ef5d5dc3b678618593abb873f4fcd4343
program/include/rcube_imap.php
@@ -2491,6 +2491,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)