summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2009-11-05 13:29:34 +0000
committerIlia Alshanetsky <iliaa@php.net>2009-11-05 13:29:34 +0000
commit9d095a6011c64e6192d8f3edfea1ac7a367c0279 (patch)
tree370c87544b1a6b6bfd722315ead36d6c179fe89c
parentd7f1cfe6a4b9d4687f51292f9e22bc74fc2ca5a4 (diff)
downloadphp-git-9d095a6011c64e6192d8f3edfea1ac7a367c0279.tar.gz
Make sure that max_file_uploads is set to 20 by-default in all places
-rw-r--r--NEWS2
-rw-r--r--php.ini-development2
-rw-r--r--php.ini-production2
3 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 7f14cf71cc..32823e302d 100644
--- a/NEWS
+++ b/NEWS
@@ -4,7 +4,7 @@ PHP NEWS
- Upgraded bundled PCRE to version 8.00. (Scott)
- Added "max_file_uploads" INI directive, which can be set to limit the
- number of file uploads per-request to 100 by default, to prevent possible
+ number of file uploads per-request to 20 by default, to prevent possible
DOS via temporary file exhaustion. (Ilia)
- Added ReflectionMethod::setAccessible() for invoking non-public methods
through the Reflection API. (Sebastian)
diff --git a/php.ini-development b/php.ini-development
index a45b67042d..2eecc139ff 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -879,7 +879,7 @@ file_uploads = On
upload_max_filesize = 2M
; Maximum number of files that can be uploaded via a single request
-max_file_uploads = 100
+max_file_uploads = 20
;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
diff --git a/php.ini-production b/php.ini-production
index 9104155c88..c84d830465 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -879,7 +879,7 @@ file_uploads = On
upload_max_filesize = 2M
; Maximum number of files that can be uploaded via a single request
-max_file_uploads = 100
+max_file_uploads = 20
;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;