Skip to content

Commit

Permalink
fixed broken merge
Browse files Browse the repository at this point in the history
  • Loading branch information
bef committed Aug 28, 2020
1 parent 08f7fbf commit f70a7c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions phpconfigcheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ function test_all_ini_entries()
'last_modified' => "The Last-Modified header will be sent for PHP scripts. This is a minor information disclosure.",
'zend.multibyte' => "This is highly unusual. If possible, try to avoid multibyte encodings in source files - like SJIS, BIG5 - and use UTF-8 instead. Most XSS and other injection protections are not aware of multibyte encodings or can easily be confused. In order to use UTF-8, this option can safely be deactivated.",
'max_input_vars' => "This setting may be incorrect. Unless your application actually needs an incredible number of input variables, please set this to a reasonable value, e.g. 1000.",
"phar.readonly" => "The creation and modification of phar files should be disabled in production.",
'phar.readonly' => "The creation and modification of phar files should be disabled in production.",
'phar.require_hash' => "Signature validation for phar archives should be enforced.",

/* Suhosin */
Expand Down Expand Up @@ -813,7 +813,8 @@ function test_all_ini_entries()
case 'phar.readonly':
if (!is_on($v)) {
list($result, $reason) = array(TEST_LOW, "Phar files aren't readonly.");
break;
}
break;
case 'phar.require_hash':
if (!is_on($v)) {
list($result, $reason) = array(TEST_LOW, "Signature check for phar is disabled.");
Expand Down

0 comments on commit f70a7c5

Please sign in to comment.