mirror of
https://github.com/php/php-src.git
synced 2024-12-14 04:16:30 +08:00
Merge branch 'PHP-7.1'
* PHP-7.1: Fixed bug #74510 win32/sendmail.c anchors CC header but not BCC
This commit is contained in:
commit
83d8daef97
@ -522,7 +522,7 @@ static int SendText(char *RPath, char *Subject, char *mailTo, char *mailCc, char
|
||||
efree(tempMailTo);
|
||||
}
|
||||
else if (headers) {
|
||||
if (pos1 = strstr(headers_lc, "bcc:")) {
|
||||
if ((pos1 = strstr(headers_lc, "bcc:")) && (pos1 == headers_lc || *(pos1-1) == '\n')) {
|
||||
/* Real offset is memaddress from the original headers + difference of
|
||||
* string found in the lowercase headrs + 4 characters to jump over
|
||||
* the bcc: */
|
||||
|
Loading…
Reference in New Issue
Block a user