These tests fail unless max_input_vars and/or max_file_uploads is set high enough

This commit is contained in:
Rasmus Lerdorf 2012-02-14 09:47:32 +00:00
parent 282d3f2034
commit 2a2af1bffc
9 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,7 @@
--TEST--
Cookies test#1
--INI--
max_input_vars=1000
--COOKIE--
cookie1=val1 ; cookie2=val2%20; cookie3=val 3.; cookie 4= value 4 %3B; cookie1=bogus; %20cookie1=ignore;+cookie1=ignore;cookie1;cookie 5=%20 value; cookie%206=ţćö;cookie+7=;$cookie.8;cookie-9=1;;;- & % $cookie 10=10
--FILE--

View File

@ -2,6 +2,7 @@
Cookies test#2
--INI--
magic_quotes_gpc=0
max_input_vars=1000
--COOKIE--
c o o k i e=value; c o o k i e= v a l u e ;;c%20o+o k+i%20e=v;name="value","value",UEhQIQ==;UEhQIQ==foo
--FILE--

View File

@ -3,6 +3,7 @@ Test HTTP_RAW_POST_DATA creation
--INI--
magic_quotes_gpc=0
always_populate_raw_post_data=1
max_input_vars=1000
--POST--
a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3
--FILE--

View File

@ -5,6 +5,7 @@ magic_quotes_gpc=0
always_populate_raw_post_data=0
display_errors=0
max_input_nesting_level=10
max_input_vars=1000
track_errors=1
log_errors=0
--POST--

View File

@ -5,6 +5,7 @@ file_uploads=1
error_reporting=E_ALL&~E_NOTICE
comment=debug builds show some additional E_NOTICE errors
upload_max_filesize=1024
max_file_uploads=10
--POST_RAW--
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
-----------------------------20896060251896012921717172737

View File

@ -5,6 +5,7 @@ file_uploads=1
error_reporting=E_ALL&~E_NOTICE
comment=debug builds show some additional E_NOTICE errors
upload_max_filesize=1024
max_file_uploads=10
--POST_RAW--
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
-----------------------------20896060251896012921717172737

View File

@ -5,6 +5,7 @@ file_uploads=1
error_reporting=E_ALL&~E_NOTICE
comment=debug builds show some additional E_NOTICE errors
upload_max_filesize=1024
max_file_uploads=10
--POST_RAW--
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
-----------------------------20896060251896012921717172737

View File

@ -5,6 +5,7 @@ file_uploads=1
error_reporting=E_ALL&~E_NOTICE
comment=debug builds show some additional E_NOTICE errors
upload_max_filesize=1024
max_file_uploads=10
--POST_RAW--
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
-----------------------------20896060251896012921717172737

View File

@ -5,6 +5,7 @@ file_uploads=1
error_reporting=E_ALL&~E_NOTICE
comment=debug builds show some additional E_NOTICE errors
upload_max_filesize=1
max_file_uploads=10
--POST_RAW--
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
-----------------------------20896060251896012921717172737