mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +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 = $&;
|
||||
}
|
||||
my $method = "POST";
|
||||
if (defined $ENV{"REQUEST_METHOD"}) {
|
||||
if (defined $ENV{"REQUEST_METHOD"} && length($::buffer) > 1) {
|
||||
$method = $ENV{"REQUEST_METHOD"};
|
||||
}
|
||||
print "
|
||||
|
Loading…
x
Reference in New Issue
Block a user