From: pdontthink Date: Mon, 28 Feb 2005 04:20:44 +0000 (+0000) Subject: Linefeed not allowed in middle of Content-Type header X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fcce1b3cd837153c9a15d1f94830847b9b70fbde;p=squirrelmail.git Linefeed not allowed in middle of Content-Type header git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8913 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/class/deliver/Deliver.class.php b/class/deliver/Deliver.class.php index bbca9318..bd09a4d7 100644 --- a/class/deliver/Deliver.class.php +++ b/class/deliver/Deliver.class.php @@ -292,7 +292,7 @@ class Deliver { $contenttype = 'Content-Type: '. $mime_header->type0 .'/'. $mime_header->type1; if (count($message->entities)) { - $contenttype .= ";\r\n " . 'boundary="'.$boundary.'"'; + $contenttype .= ';' . 'boundary="'.$boundary.'"'; } if (isset($mime_header->parameters['name'])) { $contenttype .= '; name="'.