diff options
author | terry%mozilla.org <> | 1999-08-28 02:17:29 +0200 |
---|---|---|
committer | terry%mozilla.org <> | 1999-08-28 02:17:29 +0200 |
commit | 1242d81546313b9029a2c19635882c6221a3cb3a (patch) | |
tree | 992a4505d610676944897b5709210e934e6992e6 | |
parent | 2252640963e8af4a17c68ac190d8921cc6279299 (diff) | |
download | bugzilla-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.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 " |