1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications/config
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
..
application First version of "Quest Tracker" Home NUX 2014-06-23 09:37:51 -07:00
check Fatal during setup for "mbstring.func_overload" 2014-07-04 07:59:02 -07:00
controller Use ObjectBoxView for Config pages 2014-06-27 08:28:33 -07:00
custom Update callsites of phutil_json_decode. 2014-06-21 00:39:37 +10:00
editor Add a config setting for storing application settings 2013-10-03 12:39:30 -07:00
exception Allow configuration to be explicitly validated, including validation of complex attributes 2013-01-01 18:15:03 -08:00
issue Fixed T2630 2013-04-10 13:11:22 -07:00
json Mask remaining config values, and implement set type 2013-01-16 15:06:07 -08:00
management Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
option Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
phid Remove many redundant implementations of canLoadNamedObject() 2013-12-18 12:00:01 -08:00
query Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
response Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
storage Move Timeline icons to Fonts 2014-04-22 08:25:54 -07:00
view Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00