Skip to content

Commit

Permalink
Upgrade form is no longer GET https://sourceforge.net/p/webadmin/user…
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Sep 13, 2016
1 parent 9e57a7d commit 3cceb09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions usermin/upgrade.cgi
Expand Up @@ -5,11 +5,11 @@
require './usermin-lib.pl';
$access{'upgrade'} || &error($text{'acl_ecannot'});
&foreign_require("proc", "proc-lib.pl");
if ($ENV{'REQUEST_METHOD'} eq 'GET') {
&ReadParse();
if ($ENV{'CONTENT_TYPE'} =~ /boundary=) {
&ReadParseMime();
}
else {
&ReadParseMime();
&ReadParse();
}
&get_usermin_miniserv_config(\%miniserv);
Expand Down

0 comments on commit 3cceb09

Please sign in to comment.