mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
These tests fail unless max_input_vars and/or max_file_uploads is set high enough
This commit is contained in:
parent
282d3f2034
commit
2a2af1bffc
@ -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--
|
||||
|
@ -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--
|
||||
|
@ -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--
|
||||
|
@ -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--
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user