diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-01-19 18:54:23 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-01-19 18:54:23 +0000 |
commit | e8300c82a00c3d9784e61012d016434dfe76633f (patch) | |
tree | 0ddb2e078f29e1a0c644be3b22e956a238d9322e /win32/sendmail.c | |
parent | c5b7fe878cb51f6dcfa5b3f2618694d9b185fd62 (diff) | |
download | php-git-e8300c82a00c3d9784e61012d016434dfe76633f.tar.gz |
Stricter cc header check.
Diffstat (limited to 'win32/sendmail.c')
-rw-r--r-- | win32/sendmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c index 07e1275cb2..d5b1527fbd 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -485,7 +485,7 @@ int SendText(char *RPath, char *Subject, char *mailTo, char *mailCc, char *mailB efree(tempMailTo); } /* Send mail to all Cc rcpt's */ - else if (headers && (pos1 = strstr(headers_lc, "cc:")) && ((pos1 == headers_lc) || iscntrl(*(pos1-1)))) { + else if (headers && (pos1 = strstr(headers_lc, "cc:")) && ((pos1 == headers_lc) || (*(pos1-1) == '\n'))) { /* Real offset is memaddress from the original headers + difference of * string found in the lowercase headrs + 3 characters to jump over * the cc: */ |