mirror of
https://github.com/php/php-src.git
synced 2024-12-19 06:50:17 +08:00
37b0dcc8e0
Enabling ZEND_DEBUG should not result in intrusive program behavior changes.
24 lines
512 B
PHP
24 lines
512 B
PHP
--TEST--
|
|
rfc1867 malicious input
|
|
--INI--
|
|
file_uploads=1
|
|
upload_max_filesize=1024
|
|
--POST_RAW--
|
|
Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
|
|
-----------------------------20896060251896012921717172737
|
|
Content-Disposition: form-data; name="foo[]bar"; filename="file1.txt"
|
|
Content-Type: text/plain-file1
|
|
|
|
1
|
|
-----------------------------20896060251896012921717172737--
|
|
--FILE--
|
|
<?php
|
|
var_dump($_FILES);
|
|
var_dump($_POST);
|
|
?>
|
|
--EXPECTF--
|
|
array(0) {
|
|
}
|
|
array(0) {
|
|
}
|