cvs: php4(PHP_4_3) /win32 sendmail.c

From: Date: Mon, 03 Feb 2003 03:47:00 +0000
Subject: cvs: php4(PHP_4_3) /win32 sendmail.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18371@lists.php.net to get a copy of this message
pollita Sun Feb 2 22:47:00 2003 EDT Modified files: (Branch: PHP_4_3) /php4/win32 sendmail.c Log: MFH(r-1.50/r-1.51) Index: php4/win32/sendmail.c diff -u php4/win32/sendmail.c:1.47.2.3 php4/win32/sendmail.c:1.47.2.4 --- php4/win32/sendmail.c:1.47.2.3 Tue Jan 7 06:20:50 2003 +++ php4/win32/sendmail.c Sun Feb 2 22:47:00 2003 @@ -17,7 +17,7 @@ * */ -/* $Id: sendmail.c,v 1.47.2.3 2003/01/07 11:20:50 edink Exp $ */ +/* $Id: sendmail.c,v 1.47.2.4 2003/02/03 03:47:00 pollita Exp $ */ #include "php.h" /*php specific */ #include <stdio.h> @@ -435,7 +435,7 @@ efree(tempMailTo); } /* Send mail to all Cc rcpt's */ - else if (headers && (pos1 = strstr(headers_lc, "cc:"))) { + else if (headers && (pos1 = strstr(headers_lc, "cc:")) && ((pos1 == headers_lc) || iscntrl(*(pos1-1)))) { /* Real offset is memaddress from the original headers + difference of * string found in the lowercase headrs + 3 characters to jump over * the cc: */

« previous php.cvs (#18371) next »