summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-08-28 02:17:29 +0200
committerterry%mozilla.org <>1999-08-28 02:17:29 +0200
commit1242d81546313b9029a2c19635882c6221a3cb3a (patch)
tree992a4505d610676944897b5709210e934e6992e6
parent2252640963e8af4a17c68ac190d8921cc6279299 (diff)
downloadbugzilla-1242d81546313b9029a2c19635882c6221a3cb3a.tar.gz
bugzilla-1242d81546313b9029a2c19635882c6221a3cb3a.tar.xz
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.
-rw-r--r--CGI.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CGI.pl b/CGI.pl
index 4555ea856..abf46a9d5 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -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 "