]> 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:53:09 +0000 (13:53 +0000)
committerFelipe Pena <felipe@php.net>
Fri, 11 Jul 2008 13:53:09 +0000 (13:53 +0000)
ext/mbstring/mbstring.c

index 4f67efc678d5e3381bcfd75abc2f8a8c49217d54..7cc1b1d87a679e019f5e8232372d03cd647d3541 100644 (file)
@@ -3916,7 +3916,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);
                                                }