]> granicus.if.org Git - php/commitdiff
Make sure that max_file_uploads is set to 20 by-default in all places
authorIlia Alshanetsky <iliaa@php.net>
Thu, 5 Nov 2009 13:29:34 +0000 (13:29 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 5 Nov 2009 13:29:34 +0000 (13:29 +0000)
NEWS
php.ini-development
php.ini-production

diff --git a/NEWS b/NEWS
index 7f14cf71cc9592ec73f087084b3ddb781b3c5194..32823e302db1af2c60949b16ae62667cfdad8b87 100644 (file)
--- 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)
index a45b67042d8d7530f31691170dbd81e20f3823ff..2eecc139ff71de479b0aec8626fc7ad4a9f0404e 100644 (file)
@@ -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 ;
index 9104155c8851a173132ed5865f282ddab3c2938b..c84d8304654bcc60c397da74edb1e46d138edf1e 100644 (file)
@@ -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 ;