summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fileparts/report.html2
-rwxr-xr-xreport.sh4
2 files changed, 5 insertions, 1 deletions
diff --git a/fileparts/report.html b/fileparts/report.html
index 48a086b..51470ee 100644
--- a/fileparts/report.html
+++ b/fileparts/report.html
@@ -1,7 +1,7 @@
<id><img style="width:32px" src="data/icons/icon_bug.png" alt="bug icon"><br/></id>
<p>
<id>
- <form action="./report.sh" method="put">
+ <form action="./report.sh" method="post">
<br>
<label>Short description of the bug
<input type="text" name="sname">
diff --git a/report.sh b/report.sh
index b716143..8d4e492 100755
--- a/report.sh
+++ b/report.sh
@@ -1,3 +1,7 @@
+#!/bin/bash
+
+. cgi/bashlib.sh
+
echo "Content-type: text/html"
echo ""