Skip to content

Commit

Permalink
These tests fail unless max_input_vars and/or max_file_uploads is set…
Browse files Browse the repository at this point in the history
… high enough
  • Loading branch information
rlerdorf committed Feb 14, 2012
1 parent 49ce9b9 commit 346e88a
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/basic/022.phpt
@@ -1,5 +1,7 @@
--TEST-- --TEST--
Cookies test#1 Cookies test#1
--INI--
max_input_vars=1000
--COOKIE-- --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 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-- --FILE--
Expand Down
2 changes: 2 additions & 0 deletions tests/basic/023.phpt
@@ -1,5 +1,7 @@
--TEST-- --TEST--
Cookies test#2 Cookies test#2
--INI--
max_input_vars=1000
--COOKIE-- --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 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-- --FILE--
Expand Down
1 change: 1 addition & 0 deletions tests/basic/024.phpt
Expand Up @@ -2,6 +2,7 @@
Test HTTP_RAW_POST_DATA creation Test HTTP_RAW_POST_DATA creation
--INI-- --INI--
always_populate_raw_post_data=1 always_populate_raw_post_data=1
max_input_vars=1000
--POST-- --POST--
a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3 a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3
--FILE-- --FILE--
Expand Down
1 change: 1 addition & 0 deletions tests/basic/027.phpt
Expand Up @@ -4,6 +4,7 @@ Handling of max_input_nesting_level being reached
always_populate_raw_post_data=0 always_populate_raw_post_data=0
display_errors=0 display_errors=0
max_input_nesting_level=10 max_input_nesting_level=10
max_input_vars=1000
track_errors=1 track_errors=1
log_errors=0 log_errors=0
--POST-- --POST--
Expand Down
1 change: 1 addition & 0 deletions tests/basic/028.phpt
Expand Up @@ -2,6 +2,7 @@
RFC1867 character quotting RFC1867 character quotting
--INI-- --INI--
file_uploads=1 file_uploads=1
max_input_vars=1000
--POST_RAW-- --POST_RAW--
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737 Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
-----------------------------20896060251896012921717172737 -----------------------------20896060251896012921717172737
Expand Down
1 change: 1 addition & 0 deletions tests/basic/bug55500.phpt
Expand Up @@ -4,6 +4,7 @@ Bug #55500 (Corrupted $_FILES indices lead to security concern)
file_uploads=1 file_uploads=1
error_reporting=E_ALL&~E_NOTICE error_reporting=E_ALL&~E_NOTICE
upload_max_filesize=1024 upload_max_filesize=1024
max_file_uploads=10
--POST_RAW-- --POST_RAW--
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737 Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
-----------------------------20896060251896012921717172737 -----------------------------20896060251896012921717172737
Expand Down
1 change: 1 addition & 0 deletions tests/basic/rfc1867_anonymous_upload.phpt
Expand Up @@ -5,6 +5,7 @@ file_uploads=1
error_reporting=E_ALL&~E_NOTICE error_reporting=E_ALL&~E_NOTICE
comment=debug builds show some additional E_NOTICE errors comment=debug builds show some additional E_NOTICE errors
upload_max_filesize=1024 upload_max_filesize=1024
max_file_uploads=10
--POST_RAW-- --POST_RAW--
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737 Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
-----------------------------20896060251896012921717172737 -----------------------------20896060251896012921717172737
Expand Down
1 change: 1 addition & 0 deletions tests/basic/rfc1867_array_upload.phpt
Expand Up @@ -5,6 +5,7 @@ file_uploads=1
error_reporting=E_ALL&~E_NOTICE error_reporting=E_ALL&~E_NOTICE
comment=debug builds show some additional E_NOTICE errors comment=debug builds show some additional E_NOTICE errors
upload_max_filesize=1024 upload_max_filesize=1024
max_file_uploads=10
--POST_RAW-- --POST_RAW--
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737 Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
-----------------------------20896060251896012921717172737 -----------------------------20896060251896012921717172737
Expand Down
1 change: 1 addition & 0 deletions tests/basic/rfc1867_empty_upload.phpt
Expand Up @@ -5,6 +5,7 @@ file_uploads=1
error_reporting=E_ALL&~E_NOTICE error_reporting=E_ALL&~E_NOTICE
comment=debug builds show some additional E_NOTICE errors comment=debug builds show some additional E_NOTICE errors
upload_max_filesize=1024 upload_max_filesize=1024
max_file_uploads=10
--POST_RAW-- --POST_RAW--
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737 Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
-----------------------------20896060251896012921717172737 -----------------------------20896060251896012921717172737
Expand Down
1 change: 1 addition & 0 deletions tests/basic/rfc1867_max_file_size.phpt
Expand Up @@ -5,6 +5,7 @@ file_uploads=1
error_reporting=E_ALL&~E_NOTICE error_reporting=E_ALL&~E_NOTICE
comment=debug builds show some additional E_NOTICE errors comment=debug builds show some additional E_NOTICE errors
upload_max_filesize=1024 upload_max_filesize=1024
max_file_uploads=10
--POST_RAW-- --POST_RAW--
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737 Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
-----------------------------20896060251896012921717172737 -----------------------------20896060251896012921717172737
Expand Down
1 change: 1 addition & 0 deletions tests/basic/rfc1867_post_max_filesize.phpt
Expand Up @@ -5,6 +5,7 @@ file_uploads=1
error_reporting=E_ALL&~E_NOTICE error_reporting=E_ALL&~E_NOTICE
comment=debug builds show some additional E_NOTICE errors comment=debug builds show some additional E_NOTICE errors
upload_max_filesize=1 upload_max_filesize=1
max_file_uploads=10
--POST_RAW-- --POST_RAW--
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737 Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
-----------------------------20896060251896012921717172737 -----------------------------20896060251896012921717172737
Expand Down

0 comments on commit 346e88a

Please sign in to comment.