Annotation of embedaddon/php/tests/basic/rfc1867_malicious_input.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: rfc1867 malicious input
! 3: --INI--
! 4: file_uploads=1
! 5: error_reporting=E_ALL&~E_NOTICE
! 6: comment=debug builds show some additional E_NOTICE errors
! 7: upload_max_filesize=1024
! 8: --POST_RAW--
! 9: Content-Type: multipart/form-data; boundary=---------------------------20896060251896012921717172737
! 10: -----------------------------20896060251896012921717172737
! 11: Content-Disposition: form-data; name="foo[]bar"; filename="file1.txt"
! 12: Content-Type: text/plain-file1
! 13:
! 14: 1
! 15: -----------------------------20896060251896012921717172737--
! 16: --FILE--
! 17: <?php
! 18: var_dump($_FILES);
! 19: var_dump($_POST);
! 20: ?>
! 21: --EXPECTF--
! 22: array(0) {
! 23: }
! 24: array(0) {
! 25: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>