Commit 1242d815 authored by terry%mozilla.org's avatar terry%mozilla.org

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.
parent 22526409
......@@ -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 "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment