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: */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to