From 1242d81546313b9029a2c19635882c6221a3cb3a Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Sat, 28 Aug 1999 00:17:29 +0000 Subject: 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. --- CGI.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " -- cgit v1.2.3-24-g4f1b