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

index d31cd5a9e8b2f615e6603216b204ebb4eb02ad00..4811825e5caefd3863a54b0d8544c166353181b3 100644 (file)
@@ -3927,7 +3927,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);
                                                }