blob: b716143362a7435bb6289f1554be80bf198b5914 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
echo "Content-type: text/html"
echo ""
shortname = `param sname`
description = `param lname`
severity = `param severity`
all = `param`
cat ./fileparts/header.html
echo "<!--"
set
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
|