php-src/win32
Christoph M. Becker 71297a254b Fix #80751: Comma in recipient name breaks email delivery
So far, `SendText()` simply separates potential email address lists at
any comma, disregarding that commas inside a quoted-string do not
delimit addresses.  We fix that by introducing an own variant of
`strtok_r()` which caters to quoted-strings.

We also make `FormatEmailAddress()` aware of quoted strings.

We do not cater to email address comments, and potentially other quirks
of RFC 5322 email addresses, but catering to quoted-strings is supposed
to solve almost all practical use cases.

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

Closes GH-6735.
2021-03-01 18:46:21 +01:00
..
build Fix #80345: PHPIZE configuration has outdated PHP_RELEASE_VERSION 2020-11-19 16:23:20 +01:00
codepage.c Apply tidy formatting 2020-02-03 13:41:31 +01:00
codepage.h Remove local variables 2019-02-03 21:03:00 +01:00
console.c Implement FR #77377 handle CTRL+C in Windows 2019-02-08 18:10:31 -08:00
console.h Implement FR #77377 handle CTRL+C in Windows 2019-02-08 18:10:31 -08:00
cp_enc_map_gen.c Remove local variables 2019-02-03 21:03:00 +01:00
cp_enc_map.c Trailing whitespaces 2018-01-03 14:38:00 +01:00
dllmain.c Remove local variables 2019-02-03 21:03:00 +01:00
fnmatch.c Remove local variables 2019-02-03 21:03:00 +01:00
fnmatch.h Remove local variables 2019-02-03 21:03:00 +01:00
ftok.c Remove local variables 2019-02-03 21:03:00 +01:00
getrusage.c Remove local variables 2019-02-03 21:03:00 +01:00
getrusage.h Remove local variables 2019-02-03 21:03:00 +01:00
glob.c Remove local variables 2019-02-03 21:03:00 +01:00
glob.h Remove local variables 2019-02-03 21:03:00 +01:00
globals.c Remove local variables 2019-02-03 21:03:00 +01:00
grp.h Remove local variables 2019-02-03 21:03:00 +01:00
inet.c Remove local variables 2019-02-03 21:03:00 +01:00
inet.h Remove local variables 2019-02-03 21:03:00 +01:00
ioutil.c Apply tidy formatting 2020-02-03 13:41:31 +01:00
ioutil.h Fix readlink related memory leak 2020-07-16 09:16:48 +02:00
ipc.h Remove local variables 2019-02-03 21:03:00 +01:00
nice.c Remove local variables 2019-02-03 21:03:00 +01:00
nice.h Remove local variables 2019-02-03 21:03:00 +01:00
param.h Remove local variables 2019-02-03 21:03:00 +01:00
php_inttypes.h Remove local variables 2019-02-03 21:03:00 +01:00
php_registry.h Remove local variables 2019-02-03 21:03:00 +01:00
php_stdint.h Remove local variables 2019-02-03 21:03:00 +01:00
php_win32_globals.h Remove local variables 2019-02-03 21:03:00 +01:00
readdir.c Use readdir() instead of readdir_r() 2019-04-11 16:52:36 +02:00
readdir.h Use readdir() instead of readdir_r() 2019-04-11 16:52:36 +02:00
registry.c Remove local variables 2019-02-03 21:03:00 +01:00
select.c file encoding cleanup: remove bom in win32 files 2019-07-27 10:12:54 +02:00
select.h Remove local variables 2019-02-03 21:03:00 +01:00
sendmail.c Fix #80751: Comma in recipient name breaks email delivery 2021-03-01 18:46:21 +01:00
sendmail.h Remove local variables 2019-02-03 21:03:00 +01:00
signal.c Fix ZTS issue regarding new Windows CTRL handling API 2019-06-01 09:35:47 +02:00
signal.h Fix TS build, ref #77377 2019-02-08 18:42:48 -08:00
sockets.c Remove local variables 2019-02-03 21:03:00 +01:00
sockets.h Remove local variables 2019-02-03 21:03:00 +01:00
syslog.h Remove local variables 2019-02-03 21:03:00 +01:00
time.c Remove local variables 2019-02-03 21:03:00 +01:00
time.h Remove local variables 2019-02-03 21:03:00 +01:00
unistd.h Remove local variables 2019-02-03 21:03:00 +01:00
winutil.c Fix #79557: extension_dir = ./ext now use current directory for base 2020-05-15 09:23:18 +02:00
winutil.h Fix signature and calls 2019-08-27 14:34:35 +02:00
wsyslog.c Merge branch 'PHP-7.3' into PHP-7.4 2019-07-11 13:11:08 +02:00