1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 02:08:47 +02:00
phorge-phorge/src
epriestley 04d5402e2f Fatal during setup for "mbstring.func_overload"
Summary:
Fixes T5545. We assume `strlen()` returns the number of bytes in a string, which is the normal behavior (and the documented behavior).

There's a config option, `mbstring.func_overload`, which silently calls mb_strlen() instead. This may return some other result, might fail, etc., and there's no way to get the byte length of a string if this option is set.

If this option is set, fatal immediately. Nothing good can ever come of it.

Test Plan: {F173990}

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5545

Differential Revision: https://secure.phabricator.com/D9811
2014-07-04 07:59:02 -07:00
..
__tests__ Move infrastructure tests up one directory. 2014-06-16 05:52:11 +10:00
aphront Require high-security session to sign legal documents 2014-06-29 06:16:48 -07:00
applications Fatal during setup for "mbstring.func_overload" 2014-07-04 07:59:02 -07:00
docs Allow Legalpad document managers to add signature exemptions 2014-07-02 04:59:35 -07:00
extensions
infrastructure Fix an issue with Diviner symbol rule using incorrect logic 2014-07-02 04:58:23 -07:00
view Slimmer Shade Tags 2014-06-26 14:19:32 -07:00
__phutil_library_init__.php
__phutil_library_map__.php Allow Legalpad document managers to add signature exemptions 2014-07-02 04:59:35 -07:00