mirror of
https://github.com/php/php-src.git
synced 2024-12-20 07:20:33 +08:00
21 lines
350 B
PHP
21 lines
350 B
PHP
--TEST--
|
|
Bug#55504 (Content-Type header is not parsed correctly on HTTP POST request)
|
|
--INI--
|
|
file_uploads=1
|
|
--POST_RAW--
|
|
Content-Type: multipart/form-data; boundary=BVoyv; charset=iso-8859-1
|
|
--BVoyv
|
|
Content-Disposition: form-data; name="data"
|
|
|
|
abc
|
|
--BVoyv--
|
|
--FILE--
|
|
<?php
|
|
var_dump($_POST);
|
|
?>
|
|
--EXPECT--
|
|
array(1) {
|
|
["data"]=>
|
|
string(3) "abc"
|
|
}
|