blob: 620a454eb35c4eccaf3714b8a2b67b7c58c6461a (
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
26
27
28
29
|
#!/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 "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
|