From 73270363b7dabda4406b5ab638ead98a951eebeb Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 7 Jul 2005 18:53:28 +0000 Subject: Bug 268146: mod_security complain: Invalid cookie format: Cookie value is missing #2 - Patch by Marc Schumann r=kiko a=justdave --- buglist.cgi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index 40f54cb38..edacd836e 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -707,8 +707,7 @@ if ($order) { else { my $vars = { fragment => $fragment }; if ($order_from_cookie) { - $cgi->send_cookie(-name => 'LASTORDER', - -expires => 'Tue, 15-Sep-1998 21:49:00 GMT'); + $cgi->remove_cookie('LASTORDER'); ThrowCodeError("invalid_column_name_cookie", $vars); } else { @@ -1020,8 +1019,7 @@ if ($format->{'extension'} eq "html") { -expires => 'Fri, 01-Jan-2038 00:00:00 GMT'); } else { - $cgi->send_cookie(-name => 'BUGLIST', - -expires => 'Tue, 15-Sep-1998 21:49:00 GMT'); + $cgi->remove_cookie('BUGLIST'); $vars->{'toolong'} = 1; } -- cgit v1.2.3-24-g4f1b