summaryrefslogtreecommitdiff
path: root/tests/basic/rfc1867_invalid_boundary.phpt
blob: 3b63b2722206b5155dfb3a2d51ec0ec19c91879d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--TEST--
rfc1867 invalid boundary
--INI--
post_max_size=1024
--POST_RAW--
Content-Type: multipart/form-data; boundary="foobar
-----------------------------20896060251896012921717172737
Content-Disposition: form-data; name="foobar"

1
-----------------------------20896060251896012921717172737--
--FILE--
<?php
var_dump($_FILES);
var_dump($_POST);
?>
--EXPECTF--
Warning: Invalid boundary in multipart/form-data POST data in %s
array(0) {
}
array(0) {
}