[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Cookie+PostQuery+Dump_Immediately bug :)

From: brian j. pardy
Subject: Re: lynx-dev Cookie+PostQuery+Dump_Immediately bug :)
Date: Fri, 20 Nov 1998 17:34:07 -0800

On Prickle-Prickle, the 32nd of The Aftermath, 3164, Elwin M. Oost wrote:
> Hi,
> First off, thank you all for giving Lynx to the community!
> I _think_ I found a bug in LYCookies.c (Lynx 2.8.1).
> I wanted to automate post-query'ing a site which redirects Lynx with a 302
> (yes, it's Microsoft :) to another page. It uses cookies to save info.
> Browsing everything went fine, but using post_data Lynx kept losing the
> cookie. I checked the help rigorously and after that the source to find some
> switch I had forgotten, but I _think_ I found a bug there.
> store_cookie (LYCookies.c) skips walking through domain_list if 
> dump_output_immediately=TRUE. However, 'de' which holds the domain_entry is
> initialized during this walk.
> As such, HTConfirmCookie (HTAlert.c) receives an empty 'de' and will
> reject it.

Taking a look at the code you mentioned, it looks to me like you're right.

Does anyone know a reason for the current behavior? It definitely seems
wrong to me.

Will have a patch soon-ish to take care of this, unless someone has a
reason against it..

Real programs don't eat cache.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]