Bug 322244: Cookies are incorrectly detainted when logging out - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave

git-svn-id: svn://10.0.0.236/trunk@186983 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com 2006-01-05 15:14:06 +00:00
parent 9e5e543482
commit ce5afec6fe

View File

@ -217,7 +217,7 @@ sub logout {
}
}
$cookie ||= $cgi->cookie("Bugzilla_logincookie");
detaint_natural($cookie);
trick_taint($cookie);
# These queries use both the cookie ID and the user ID as keys. Even
# though we know the userid must match, we still check it in the SQL