Per Directory Values overrides PHP_INI_SYSTEM configuration options
| Sec Bug #69134 | Per Directory Values overrides PHP_INI_SYSTEM configuration options | ||||
|---|---|---|---|---|---|
| Submitted: | 2015-02-27 05:06 UTC | Modified: | 2015-03-17 23:55 UTC | ||
| From: | aserbulov at parallels dot com | Assigned: | ab (profile) | ||
| Status: | Closed | Package: | PHP options/info functions | ||
| PHP Version: | 5.5.22 | OS: | Windows | ||
| Private report: | No | CVE-ID: | None | ||
[2015-02-27 05:06 UTC] aserbulov at parallels dot com
Description: ------------ http://php.net/manual/en/configuration.changes.php --- only configuration values changeable in PHP_INI_USER can be set this way --- Expected result: ---------------- PHP_INI_SYSTEM configuration options should not be overridden by Per Directory Values. Actual result: -------------- Per Directory Values overrides PHP_INI_SYSTEM configuration options.
Patches
bug69134.patch (last revision 2015-03-04 18:53 UTC by ab@php.net)Pull Requests
History
AllCommentsChangesGit/SVN commits
[2015-02-27 05:36 UTC] aserbulov at parallels dot com
patch --- --- win32/registry.c Wed Jan 21 10:23:27 2015 +++ win32/registry.c Fri Feb 27 10:40:52 2015 @@ -261,7 +261,7 @@ zend_hash_get_current_data_ex(ht, (void**)&data, &pos) == SUCCESS && zend_hash_get_current_key_ex(ht, &index, &index_len, &num, 0, &pos) == HASH_KEY_IS_STRING; zend_hash_move_forward_ex(ht, &pos)) { - zend_alter_ini_entry(index, index_len, Z_STRVAL_PP(data), Z_STRLEN_PP(data), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); + zend_alter_ini_entry(index, index_len, Z_STRVAL_PP(data), Z_STRLEN_PP(data), PHP_INI_USER, PHP_INI_STAGE_ACTIVATE); } break; } ---[2015-02-27 05:43 UTC] stas@php.net
-Status: Open +Status: Feedback
[2015-02-27 05:43 UTC] stas@php.net
[2015-02-27 05:51 UTC] aserbulov at parallels dot com
-Status: Feedback +Status: Open
[2015-02-27 05:51 UTC] aserbulov at parallels dot com
[2015-02-27 14:45 UTC] ab@php.net
-Status: Open +Status: Feedback
[2015-02-27 14:45 UTC] ab@php.net
[2015-03-02 03:42 UTC] aserbulov at parallels dot com
-Status: Feedback +Status: Open
[2015-03-02 03:42 UTC] aserbulov at parallels dot com
[2015-03-02 04:16 UTC] stas@php.net
-Assigned To: +Assigned To: ab
[2015-03-04 19:05 UTC] ab@php.net
-Status: Assigned +Status: Verified
[2015-03-04 19:06 UTC] ab@php.net
[2015-03-17 23:55 UTC] stas@php.net
-Status: Verified +Status: Closed
[2015-03-17 23:55 UTC] stas@php.net