git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8874
7612ce4b-ef26-0410-bec9-
ea0150e637f0
case 'message':
if ($message->body_part) {
$body_part = $message->body_part;
case 'message':
if ($message->body_part) {
$body_part = $message->body_part;
+ // remove NUL characters
+ $body_part = str_replace("\0",'',$body_part);
$length += $this->clean_crlf($body_part);
if ($stream) {
$this->preWriteToStream($body_part);
$length += $this->clean_crlf($body_part);
if ($stream) {
$this->preWriteToStream($body_part);