diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2012-02-14 09:47:32 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2012-02-14 09:47:32 +0000 |
commit | e80cbef15bb8c2dac6d2bf539b3721f105e1c88a (patch) | |
tree | fc506baf19104c4e6aabf8aba3c0aa66239c3b76 /tests | |
parent | e16ec62d209eb074bbef24f2c713d0134ec3df13 (diff) | |
download | php-git-e80cbef15bb8c2dac6d2bf539b3721f105e1c88a.tar.gz |
These tests fail unless max_input_vars and/or max_file_uploads is set high enough
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic/022.phpt | 2 | ||||
-rw-r--r-- | tests/basic/023.phpt | 2 | ||||
-rw-r--r-- | tests/basic/024.phpt | 1 | ||||
-rw-r--r-- | tests/basic/027.phpt | 1 | ||||
-rw-r--r-- | tests/basic/028.phpt | 1 | ||||
-rw-r--r-- | tests/basic/bug55500.phpt | 1 | ||||
-rw-r--r-- | tests/basic/rfc1867_anonymous_upload.phpt | 1 | ||||
-rw-r--r-- | tests/basic/rfc1867_array_upload.phpt | 1 | ||||
-rw-r--r-- | tests/basic/rfc1867_empty_upload.phpt | 1 | ||||
-rw-r--r-- | tests/basic/rfc1867_max_file_size.phpt | 1 | ||||
-rw-r--r-- | tests/basic/rfc1867_post_max_filesize.phpt | 1 |
11 files changed, 13 insertions, 0 deletions
diff --git a/tests/basic/022.phpt b/tests/basic/022.phpt index 61718f2166..64314ee9ee 100644 --- a/tests/basic/022.phpt +++ b/tests/basic/022.phpt @@ -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-- diff --git a/tests/basic/023.phpt b/tests/basic/023.phpt index 181745ea5b..07fe9d6d3f 100644 --- a/tests/basic/023.phpt +++ b/tests/basic/023.phpt @@ -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-- diff --git a/tests/basic/024.phpt b/tests/basic/024.phpt index 497d3514e0..bf8a206b3a 100644 --- a/tests/basic/024.phpt +++ b/tests/basic/024.phpt @@ -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-- diff --git a/tests/basic/027.phpt b/tests/basic/027.phpt index aa001f65a3..0528e835a1 100644 --- a/tests/basic/027.phpt +++ b/tests/basic/027.phpt @@ -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-- diff --git a/tests/basic/028.phpt b/tests/basic/028.phpt index cadb25d8d3..37d6f21a06 100644 --- a/tests/basic/028.phpt +++ b/tests/basic/028.phpt @@ -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 diff --git a/tests/basic/bug55500.phpt b/tests/basic/bug55500.phpt index 22bc131bc2..97eeea2c8c 100644 --- a/tests/basic/bug55500.phpt +++ b/tests/basic/bug55500.phpt @@ -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 diff --git a/tests/basic/rfc1867_anonymous_upload.phpt b/tests/basic/rfc1867_anonymous_upload.phpt index 8a27e2e378..ce1f4479ce 100644 --- a/tests/basic/rfc1867_anonymous_upload.phpt +++ b/tests/basic/rfc1867_anonymous_upload.phpt @@ -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 diff --git a/tests/basic/rfc1867_array_upload.phpt b/tests/basic/rfc1867_array_upload.phpt index 0b762c2090..d9f93530c2 100644 --- a/tests/basic/rfc1867_array_upload.phpt +++ b/tests/basic/rfc1867_array_upload.phpt @@ -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 diff --git a/tests/basic/rfc1867_empty_upload.phpt b/tests/basic/rfc1867_empty_upload.phpt index 12ab0fdf0b..c2dcb9b2ef 100644 --- a/tests/basic/rfc1867_empty_upload.phpt +++ b/tests/basic/rfc1867_empty_upload.phpt @@ -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 diff --git a/tests/basic/rfc1867_max_file_size.phpt b/tests/basic/rfc1867_max_file_size.phpt index fa7876fd12..9c576b477c 100644 --- a/tests/basic/rfc1867_max_file_size.phpt +++ b/tests/basic/rfc1867_max_file_size.phpt @@ -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 diff --git a/tests/basic/rfc1867_post_max_filesize.phpt b/tests/basic/rfc1867_post_max_filesize.phpt index 62be6c2990..04c0c5c2b9 100644 --- a/tests/basic/rfc1867_post_max_filesize.phpt +++ b/tests/basic/rfc1867_post_max_filesize.phpt @@ -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 |