[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnump3d-users] Clear Search Results
From: |
Steve Kemp |
Subject: |
Re: [Gnump3d-users] Clear Search Results |
Date: |
Mon, 14 Aug 2006 20:28:54 +0000 |
User-agent: |
Mutt/1.5.9i |
On Mon, Aug 14, 2006 at 09:09:28AM -0700, Benjamin Damer wrote:
> I deleted my cookies and that fixed the problem temporarily (as in: it
> worked once, but as soon I conduct my first search, it's the same problem
> again).
Try this patch from Matthew Cheetah which should avoid these cookies
being reset. (You will need to clean them first though.)
--- gnump3d-2.9.8/bin/gnump3d2 2005-11-16 19:46:53.000000000 -0500
+++ gnump3d-2.9.8.matt/bin/gnump3d2 2006-08-10 17:47:54.000000000 -0400
@@ -1303,6 +1323,8 @@
{
if ( defined( $ARGUMENTS{$key} ) )
{
+ # Matt: these keys should NEVER be set as cookies damnit
+ next if $key eq 'q' or $key eq 'play';
my $val = $ARGUMENTS{ $key };
$header .= "Set-Cookie: " . $key . "=" . $val . ";path=/; expires=Mon,
10-Mar-08 14:36:42 GMT;\r\n";
}
Steve
--