Aleksander Machniak
2013-12-21 54029ea959b5f59447e3f0a01a453fd5fe0ba8fa
program/lib/Roundcube/rcube_imap.php
@@ -2121,7 +2121,7 @@
        // convert charset (if text or message part)
        if ($body && preg_match('/^(text|message)$/', $o_part->ctype_primary)) {
            // Remove NULL characters if any (#1486189)
            if (strpos($body, "\x00") !== false) {
            if ($formatted && strpos($body, "\x00") !== false) {
                $body = str_replace("\x00", '', $body);
            }