Bug #76706 [Asn->Csd]: mbstring.http_output_conv_mimetypes is ignored
| From: | cmb@php.net | Date: | Sat, 04 Aug 2018 21:35:07 +0000 |
| Subject: | Bug #76706 [Asn->Csd]: mbstring.http_output_conv_mimetypes is ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-216586@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76706&edit=1
ID: 76706
Updated by: cmb@php.net
Reported by: cmb@php.net
Summary: mbstring.http_output_conv_mimetypes is ignored
-Status: Assigned
+Status: Closed
Type: Bug
Package: mbstring related
Operating System: *
PHP Version: 7.3.0beta1
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=70ecb6e50b983419f6a2d5e028f9779354047ec1
Log: Fix #76706: mbstring.http_output_conv_mimetypes is ignored
Previous Comments:
------------------------------------------------------------------------
[2018-08-04 20:59:40] cmb@php.net
Description:
------------
If mbstring is built without mbregex support,
mbstring.http_output_conv_mimetypes is basically ignored.
The problem is that the return value of the PCRE fallback
implementation of _php_mb_match_regex()[1] is not ânormalizedâ to
return a truthy value in case of match, and a falsey value
otherwise.
[1] <https://github.com/php/php-src/blob/php-7.3.0beta1/ext/mbstring/mbstring.c#L1071-L1074>
Test script:
---------------
ext/mbstring/tests/mb_output_handler_pattern-04.phpt
Expected result:
----------------
Test succeeds
Actual result:
--------------
Test fails
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76706&edit=1