File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
tests /
basic /
rfc1867_malicious_input.phpt
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue Feb 21 23:48:06 2012 UTC (12 years, 4 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
v5_3_10,
HEAD
php
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>