]> granicus.if.org Git - php/commitdiff
- Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset=' parsi...
authorFelipe Pena <felipe@php.net>
Fri, 11 Jul 2008 13:48:11 +0000 (13:48 +0000)
committerFelipe Pena <felipe@php.net>
Fri, 11 Jul 2008 13:48:11 +0000 (13:48 +0000)
ext/mbstring/mbstring.c

index f4ce67fa4671411e77a8d3935f8d19f1af68e7cb..7c9d84da585d98d5da74584ad76c095096ff56a2 100644 (file)
@@ -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);
                                                }