summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-03-07 22:17:13 -0500
committerAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-03-07 22:17:13 -0500
commite8ab2d45b9c136b2505a7db58ad330dbfa7c0ac8 (patch)
treec0f6ac4f3d58c9d8e5b686be6f532a97898aa9a6
parent95f3c0abe48e21d1549c7ad7c6c57be3b5bf32ab (diff)
downloadwebpage-e8ab2d45b9c136b2505a7db58ad330dbfa7c0ac8.tar.gz
webpage-e8ab2d45b9c136b2505a7db58ad330dbfa7c0ac8.tar.bz2
webpage-e8ab2d45b9c136b2505a7db58ad330dbfa7c0ac8.zip
more
-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 ""