Linefeed not allowed in middle of Content-Type header
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 28 Feb 2005 04:20:44 +0000 (04:20 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 28 Feb 2005 04:20:44 +0000 (04:20 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8913 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/deliver/Deliver.class.php

index bbca93180643ecc49b8f58a69ed3177dd0760ad6..bd09a4d77c52f4676ce57757009dc35ae5cfcf13 100644 (file)
@@ -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="'.