diff options
| author | Felipe Pena <felipe@php.net> | 2008-07-11 13:48:11 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2008-07-11 13:48:11 +0000 |
| commit | 9a58cb0b3c9eb069d5d2274e7efe01e42d1cb48f (patch) | |
| tree | 8623440a7fcef44f80790a04e61ce3ab22e390c8 /ext | |
| parent | 596f8bf88584785088a423d8d206edd2d536f066 (diff) | |
| download | php-git-9a58cb0b3c9eb069d5d2274e7efe01e42d1cb48f.tar.gz | |
- Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset=' parsing incorrect)
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/mbstring/mbstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index f4ce67fa46..7c9d84da58 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -3632,7 +3632,7 @@ PHP_FUNCTION(mb_send_mail) if (strcasecmp(param_name, "charset") == 0) { enum mbfl_no_encoding _tran_cs = tran_cs; - charset = php_strtok_r(NULL, "= ", &tmp); + charset = php_strtok_r(NULL, "= \"", &tmp); if (charset != NULL) { _tran_cs = mbfl_name2no_encoding(charset); } |
