|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76706 mbstring.http_output_conv_mimetypes is ignored
Submitted: 2018-08-04 20:59 UTC Modified: 2018-08-04 20:59 UTC
From: Assigned: cmb (profile)
Status: Closed Package: mbstring related
PHP Version: 7.3.0beta1 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
9 + 4 = ?
Subscribe to this entry?

 [2018-08-04 20:59 UTC]
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

[1] <>

Test script:

Expected result:
Test succeeds

Actual result:
Test fails


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-04 20:59 UTC]
-Assigned To: +Assigned To: cmb
 [2018-08-04 21:35 UTC]
Automatic comment on behalf of
Log: Fix #76706: mbstring.http_output_conv_mimetypes is ignored
 [2018-08-04 21:35 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Oct 03 15:04:13 2022 UTC