Commit 57f0b7a2 authored by terry%netscape.com's avatar terry%netscape.com

Patch by Dru Nelson <dnelson@redwoodsoft.com> -- quote the

logincookie, just in case some silly user mucked with their cookie file.
parent 45a305f9
......@@ -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()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment