Don't use "GET" for a form with a password in the obvious case where

we have no other bookmarkable data that we'll want to put in the URL.
This commit is contained in:
terry%mozilla.org 1999-08-27 17:17:29 +00:00
parent 6ce40d4e24
commit 2b36070790

View File

@ -436,7 +436,7 @@ sub confirm_login {
$nexturl = $&; $nexturl = $&;
} }
my $method = "POST"; my $method = "POST";
if (defined $ENV{"REQUEST_METHOD"}) { if (defined $ENV{"REQUEST_METHOD"} && length($::buffer) > 1) {
$method = $ENV{"REQUEST_METHOD"}; $method = $ENV{"REQUEST_METHOD"};
} }
print " print "