summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/htdocs/security/CAN-2004-0959.php
diff options
context:
space:
mode:
Diffstat (limited to 'debian/perl-framework/t/htdocs/security/CAN-2004-0959.php')
-rw-r--r--debian/perl-framework/t/htdocs/security/CAN-2004-0959.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/perl-framework/t/htdocs/security/CAN-2004-0959.php b/debian/perl-framework/t/htdocs/security/CAN-2004-0959.php
new file mode 100644
index 0000000..0f36526
--- /dev/null
+++ b/debian/perl-framework/t/htdocs/security/CAN-2004-0959.php
@@ -0,0 +1,7 @@
+<?php
+ if (is_uploaded_file($_FILES['user_file']['tmp_name'])) {
+ print $_FILES['user_file']['name'];
+ } else {
+ print "FAILED";
+ }
+?> \ No newline at end of file