summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.php_ini_setup
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-01-07 21:49:01 +0000
committerNewEraCracker <neweracracker@gmail.com>2016-01-07 21:49:01 +0000
commitf11c08e203d9b367be54c482b004e535bdeeadb9 (patch)
tree0fd9bbbd45dd541206e541edf2244d9cb30cab97 /src/etc/rc.php_ini_setup
parent66a962cbdf3c5bf044f37ee0b6458acbe9575c29 (diff)
downloadpfsense-f11c08e203d9b367be54c482b004e535bdeeadb9.zip
pfsense-f11c08e203d9b367be54c482b004e535bdeeadb9.tar.gz
Revert maximum array depth (aka input nesting level) to default values
This is per default 50 in Suhosin (*.max_array_depth) and 64 in PHP (max_input_nesting_level) Note: Array depth is not the number of elements within an array.
Diffstat (limited to 'src/etc/rc.php_ini_setup')
-rwxr-xr-xsrc/etc/rc.php_ini_setup3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/etc/rc.php_ini_setup b/src/etc/rc.php_ini_setup
index ca2e3dd..8bacaf0 100755
--- a/src/etc/rc.php_ini_setup
+++ b/src/etc/rc.php_ini_setup
@@ -250,15 +250,12 @@ fi
/bin/cat >>/usr/local/etc/php.ini <<EOF
[suhosin]
-suhosin.get.max_array_depth = 5000
suhosin.get.max_array_index_length = 256
suhosin.get.max_vars = 5000
suhosin.get.max_value_length = 500000
-suhosin.post.max_array_depth = 5000
suhosin.post.max_array_index_length = 256
suhosin.post.max_vars = 5000
suhosin.post.max_value_length = 500000
-suhosin.request.max_array_depth = 5000
suhosin.request.max_array_index_length = 256
suhosin.request.max_vars = 5000
suhosin.request.max_value_length = 500000
OpenPOWER on IntegriCloud