summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2010-10-27 14:56:51 +0000
committerGustavo André dos Santos Lopes <cataphract@php.net>2010-10-27 14:56:51 +0000
commitee80871a1577afbc22454084fb8fa284d20a6cd4 (patch)
tree3333f2fea7aa84054616c5450230f4fd04871ebb /tests
parentb5b4f94a4cc3fbe9ce5200a8719826a12926d5fe (diff)
downloadphp-git-ee80871a1577afbc22454084fb8fa284d20a6cd4.tar.gz
- Fixed bug #53180 (post_max_size=0 not disabling the limit when the content
type is application/x-www-form-urlencoded or is not registered with PHP).
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/bug53180.phpt19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/basic/bug53180.phpt b/tests/basic/bug53180.phpt
new file mode 100644
index 0000000000..5c2eb76952
--- /dev/null
+++ b/tests/basic/bug53180.phpt
@@ -0,0 +1,19 @@
+--TEST--
+Bug #53180 (post_max_size=0 partly not working)
+--INI--
+post_max_size=0
+--POST--
+email=foo&password=bar&submit=Log+on
+--FILE--
+<?php
+var_dump($_POST);
+?>
+--EXPECT--
+array(3) {
+ ["email"]=>
+ string(3) "foo"
+ ["password"]=>
+ string(3) "bar"
+ ["submit"]=>
+ string(6) "Log on"
+}