From: lpsolit%gmail.com <> Date: Thu, 5 Jan 2006 23:14:06 +0000 (+0000) Subject: Bug 322244: Cookies are incorrectly detainted when logging out - Patch by Olav Vitter... X-Git-Tag: bugzilla-2.22rc1~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a751a1e448b17a66a63b5728ffce0b456bc762b;p=thirdparty%2Fbugzilla.git Bug 322244: Cookies are incorrectly detainted when logging out - Patch by Olav Vitters r=LpSolit a=justdave --- diff --git a/Bugzilla/Auth/Login/WWW/CGI.pm b/Bugzilla/Auth/Login/WWW/CGI.pm index 17a9cfce64..e3fc4c7f40 100644 --- a/Bugzilla/Auth/Login/WWW/CGI.pm +++ b/Bugzilla/Auth/Login/WWW/CGI.pm @@ -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