]> source.dussan.org Git - rspamd.git/commitdiff
* Add action to form in cgi
authorcebka@lenovo-laptop <cebka@lenovo-laptop>
Wed, 17 Mar 2010 14:33:41 +0000 (17:33 +0300)
committercebka@lenovo-laptop <cebka@lenovo-laptop>
Wed, 17 Mar 2010 14:33:41 +0000 (17:33 +0300)
cgi/rspamd.cgi

index 2c5f9113af7b76f7120a0efb794ae2ad6c58fdfd..b0496691a87182a4ed9d46b10a2489de48e83abc 100644 (file)
@@ -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',