mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
These tests fail unless max_input_vars and/or max_file_uploads is set high enough
This commit is contained in:
parent
e16ec62d20
commit
e80cbef15b
11 changed files with 13 additions and 0 deletions
|
@ -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--
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
--TEST--
|
||||
Cookies test#2
|
||||
--INI--
|
||||
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--
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Test HTTP_RAW_POST_DATA creation
|
||||
--INI--
|
||||
always_populate_raw_post_data=1
|
||||
max_input_vars=1000
|
||||
--POST--
|
||||
a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3
|
||||
--FILE--
|
||||
|
|
|
@ -4,6 +4,7 @@ Handling of max_input_nesting_level being reached
|
|||
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--
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
RFC1867 character quotting
|
||||
--INI--
|
||||
file_uploads=1
|
||||
max_input_vars=1000
|
||||
--POST_RAW--
|
||||
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
|
||||
-----------------------------20896060251896012921717172737
|
||||
|
|
|
@ -4,6 +4,7 @@ Bug #55500 (Corrupted $_FILES indices lead to security concern)
|
|||
file_uploads=1
|
||||
error_reporting=E_ALL&~E_NOTICE
|
||||
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=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…
Add table
Add a link
Reference in a new issue