Commit 8a751a1e authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 322244: Cookies are incorrectly detainted when logging out - Patch by Olav…

Bug 322244: Cookies are incorrectly detainted when logging out - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave
parent 8f5a0bbc
......@@ -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
......
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