From 8a751a1e448b17a66a63b5728ffce0b456bc762b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 5 Jan 2006 23:14:06 +0000 Subject: Bug 322244: Cookies are incorrectly detainted when logging out - Patch by Olav Vitters r=LpSolit a=justdave --- Bugzilla/Auth/Login/WWW/CGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Auth/Login/WWW/CGI.pm b/Bugzilla/Auth/Login/WWW/CGI.pm index 17a9cfce6..e3fc4c7f4 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 -- cgit v1.2.3-24-g4f1b