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 | 2a2af1bffc50a0bdde93b5e6297ed0e9e45c0367 (patch) | |
tree | cc1d9ca44a41af04b013a891b3acf978a2f27bb1 /tests | |
parent | 282d3f20349b78eeed0173a2e55d311324faeb4d (diff) | |
download | php-git-2a2af1bffc50a0bdde93b5e6297ed0e9e45c0367.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 | 1 | ||||
-rw-r--r-- | tests/basic/024.phpt | 1 | ||||
-rw-r--r-- | tests/basic/027.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 |
9 files changed, 10 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 4eb698fa05..ddbcbae005 100644 --- a/tests/basic/023.phpt +++ b/tests/basic/023.phpt @@ -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-- diff --git a/tests/basic/024.phpt b/tests/basic/024.phpt index 847eeac824..a28470914b 100644 --- a/tests/basic/024.phpt +++ b/tests/basic/024.phpt @@ -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-- diff --git a/tests/basic/027.phpt b/tests/basic/027.phpt index ae5d78d50d..db8efbf95a 100644 --- a/tests/basic/027.phpt +++ b/tests/basic/027.phpt @@ -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-- 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 |