From: terry%netscape.com <> Date: Tue, 23 Mar 1999 07:48:39 +0000 (+0000) Subject: Patch by Dru Nelson -- quote the X-Git-Tag: bugzilla-2.4~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57f0b7a2c7ed40c7eb2029bf1091c3f262b1e23f;p=thirdparty%2Fbugzilla.git Patch by Dru Nelson -- quote the logincookie, just in case some silly user mucked with their cookie file. --- diff --git a/CGI.pl b/CGI.pl index 3f3ed82b42..74d383646f 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()) {