From fcce1b3cd837153c9a15d1f94830847b9b70fbde Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 28 Feb 2005 04:20:44 +0000 Subject: [PATCH] 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 --- class/deliver/Deliver.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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="'. -- 2.25.1