diff options
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r-- | program/include/rcube_imap.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index dca8961fa..1d258f1e1 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -2491,6 +2491,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) |