#22262 [Fbk->NoF]: CRLF incorrectly converted to CRCRLF
| From: | sniper@php.net | Date: | Tue, 25 Feb 2003 08:07:38 +0000 |
| Subject: | #22262 [Fbk->NoF]: CRLF incorrectly converted to CRCRLF | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34174@lists.php.net to get a copy of this message | ||
ID: 22262
Updated by: sniper@php.net
Reported By: adamness at yahoo dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Mail related
Operating System: FreeBSD 4.3
PHP Version: 4.3.0
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-02-18 11:36:01] moriyoshi@php.net
That seems to be a qmail issue to me, not a php one.
Did you try to send by qmail-inject some plain text every line of which
ends with "\r\n" and confirm if the received mail is the right one?
------------------------------------------------------------------------
[2003-02-17 19:32:47] adamness at yahoo dot com
The RFC's require lines in the email header to end in "\r\n". However,
when using the mail function in PHP 4.3, and qmail-inject as the
external mail program, the mail function was silently replacing my \n's
with \r\n's, leaving me with "\r\r\n", which actually ends up violating
the RFC, in a way that can cause buffer overflows in some mailreaders,
and has been identified as a possible virus exploit by several virus
scanners.
For a solution, the mail function, before replacing a \n with \r\n
should check if the previous character is already a \r.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22262&edit=1