summaryrefslogtreecommitdiff
path: root/report.sh
diff options
context:
space:
mode:
Diffstat (limited to 'report.sh')
-rwxr-xr-xreport.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/report.sh b/report.sh
deleted file mode 100755
index 6618fe9..0000000
--- a/report.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-. cgi/bashlib.sh
-
-echo "Content-type: text/html"
-echo ""
-
-shortname=`param sname`
-description=`param lname`
-severity=`param severity`
-all=`param`
-
-cat ./fileparts/header.html
-echo "<!--"
-set
-echo "---------------------------"
-env
-echo "---------------------------"
-echo "Sname: $shortname"
-echo "Lname: $description"
-echo "Severity: $severity"
-echo "Params: $all"
-echo "-->"
-
-if [ "REQUEST_METHOD" = "POST"]; then
- echo "Looks like method was post!"
- #Make a thank-you-for-reporting-bug page
-else
- echo "Method was: $REQUEST_METHOD"
- cat ./fileparts/report.html
-fi
-cat ./fileparts/footer.html