mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
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:
parent
6ce40d4e24
commit
2b36070790
@ -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 "
|
||||||
|
Loading…
Reference in New Issue
Block a user