summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-12-13 10:12:16 +0100
committerAndreas Unterkircher <unki@netshadow.at>2008-12-13 10:12:16 +0100
commitb0ffceaf0b66d1af25ec227a05175311188b1ce9 (patch)
treed733d147faa13575f8a014db924e35cc61c46807
parent7760d9cdd909258591ebeb28a0b4d94ce00eeb31 (diff)
downloadexilog-b0ffceaf0b66d1af25ec227a05175311188b1ce9.zip
exilog-b0ffceaf0b66d1af25ec227a05175311188b1ce9.tar.gz
exilog-b0ffceaf0b66d1af25ec227a05175311188b1ce9.tar.bz2
use method POST and define enctype for HTML-forms, fixes #131
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rwxr-xr-xcgi/exilog_cgi.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/exilog_cgi.pl b/cgi/exilog_cgi.pl
index 6c3afb8..8798b09 100755
--- a/cgi/exilog_cgi.pl
+++ b/cgi/exilog_cgi.pl
@@ -96,7 +96,7 @@ sub _print_html_header {
],
-meta=>{'http-equiv' => 'pragma', 'content' => 'no-cache'}});
# global "centering" div
- print $q->start_form({-name=>"exilogform",-method=>"GET"});
+ print $q->start_form({-name=>"exilogform",-method=>"POST", enctype => "multipart/form-data"});
print '<div align="center">';
print '<div align="center" class="body">';
};