summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-07 20:53:28 +0200
committerlpsolit%gmail.com <>2005-07-07 20:53:28 +0200
commit73270363b7dabda4406b5ab638ead98a951eebeb (patch)
treed3e22918e622ad6c8196d35882a7686c0a5d787e /buglist.cgi
parent8ef93208df4b0c83acb4d24772b7af062d36ec78 (diff)
downloadbugzilla-73270363b7dabda4406b5ab638ead98a951eebeb.tar.gz
bugzilla-73270363b7dabda4406b5ab638ead98a951eebeb.tar.xz
Bug 268146: mod_security complain: Invalid cookie format: Cookie value is missing #2 - Patch by Marc Schumann <wurblzap@gmail.com> r=kiko a=justdave
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi6
1 files changed, 2 insertions, 4 deletions
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;
}