- Added .phar to default authorized extensions

This commit is contained in:
Jérôme Loyet 2011-11-16 00:21:38 +00:00
parent 772164446a
commit e5ccae408e
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -11,6 +11,7 @@ PHP NEWS
- PHP-FPM SAPI:
. Fixed bug #60179 (php_flag and php_value does not work properly). (fat)
. Enhance error log when the primary script can't be open. FR #60199. (fat)
. Added .phar to default authorized extensions. (fat)
- Intl:
. Fixed bug #60192 (SegFault when Collator not constructed

View File

@ -973,7 +973,7 @@ static int fpm_conf_process_all_pools() /* {{{ */
/* security.limit_extensions */
if (!wp->config->security_limit_extensions) {
wp->config->security_limit_extensions = strdup(".php");
wp->config->security_limit_extensions = strdup(".php .phar");
}
if (*wp->config->security_limit_extensions) {