ID:               50907
 Updated by:       [email protected]
 Reported By:      adeel dot e at gmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         *Mail Related
 Operating System: CentOS 5.4
 PHP Version:      5.3.1
 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2010-02-02 12:50:21] [email protected]

Automatic comment from SVN on behalf of iliaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=294335
Log: Fixed bug #50907 (X-PHP-Originating-Script adding two new lines in
*NIX).

------------------------------------------------------------------------

[2010-02-02 10:14:23] adeel dot e at gmail dot com

Description:
------------
This change
(http://cvs.php.net/viewvc.cgi/php-src/ext/standard/mail.c?
r1=1.106&r2=1.107) adds "\r\n" after the X-PHP-Originating-Script 
header, on *NIX machines using "\n" as new line separators, this
results 
in *two* line breaks which breaks the email.

This worked fine in PHP 5.2.x but since upgrading to PHP 5.3 it has 
stopped working.

Expected result:
----------------
;-----------------
Date: 2 Feb 2010 01:41:56 +0000
To: [email protected]
Subject: My Subject
X-PHP-Originating-Script: 10002:mail.php
From: F <[email protected]>
Reply-To: F <[email protected]>
;-----------------

Actual result:
--------------
;-----------------
Date: 2 Feb 2010 01:41:56 +0000
To: [email protected]
Subject: My Subject
X-PHP-Originating-Script: 10002:mail.php

From: F <[email protected]>
Reply-To: F <[email protected]>
;-----------------


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50907&edit=1

Reply via email to