From 57f0b7a2c7ed40c7eb2029bf1091c3f262b1e23f Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" <> Date: Tue, 23 Mar 1999 07:48:39 +0000 Subject: Patch by Dru Nelson -- quote the logincookie, just in case some silly user mucked with their cookie file. --- CGI.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CGI.pl') diff --git a/CGI.pl b/CGI.pl index 3f3ed82b4..74d383646 100644 --- a/CGI.pl +++ b/CGI.pl @@ -244,7 +244,7 @@ sub quietly_check_login() { "and logincookies.hostname = " . SqlQuote($ENV{"REMOTE_HOST"}) . " from profiles,logincookies where logincookies.cookie = " . - $::COOKIE{"Bugzilla_logincookie"} . + SqlQuote($::COOKIE{"Bugzilla_logincookie"}) . " and profiles.userid = logincookies.userid"); my @row; if (@row = FetchSQLData()) { -- cgit v1.2.3-24-g4f1b