summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-07-11 13:48:11 +0000
committerFelipe Pena <felipe@php.net>2008-07-11 13:48:11 +0000
commit9a58cb0b3c9eb069d5d2274e7efe01e42d1cb48f (patch)
tree8623440a7fcef44f80790a04e61ce3ab22e390c8 /ext
parent596f8bf88584785088a423d8d206edd2d536f066 (diff)
downloadphp-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.c2
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);
}