aboutsummaryrefslogtreecommitdiffstats
path: root/cgi
diff options
context:
space:
mode:
authorcebka@lenovo-laptop <cebka@lenovo-laptop>2010-03-17 17:33:41 +0300
committercebka@lenovo-laptop <cebka@lenovo-laptop>2010-03-17 17:33:41 +0300
commit27d9a41aad8344d40683663313899cf121eb03db (patch)
treef2197d8b8a11d29acbf82bb0a40b8203f3517edc /cgi
parent80e0a6ac5f69911be278c7d1ae67c8027e903e5b (diff)
downloadrspamd-27d9a41aad8344d40683663313899cf121eb03db.tar.gz
rspamd-27d9a41aad8344d40683663313899cf121eb03db.zip
* Add action to form in cgi
Diffstat (limited to 'cgi')
-rw-r--r--cgi/rspamd.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/rspamd.cgi b/cgi/rspamd.cgi
index 2c5f9113a..b0496691a 100644
--- a/cgi/rspamd.cgi
+++ b/cgi/rspamd.cgi
@@ -95,7 +95,7 @@ sub _show_html {
start_html(-title=>'Rspamd control', -script=>[{-type=>'JAVASCRIPT', -src=>'http://www.google.com/jsapi'},
{-type=>'JAVASCRIPT', -code=>'google.load("jquery", "1");'}]),
h1('Manage rspamd cluster'),
- start_form(-method=>'POST', -enctype=>&CGI::MULTIPART),
+ start_form(-method=>'POST', -enctype=>&CGI::MULTIPART, -action=>$ENV{PATH_INFO}),
"<label for=\"id_servers\">Servers:</label>",
"<div id=\"servers_div\">",
scrolling_list(-name => 'servers',