[Top][All Lists]

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

lynx-dev Cookie+PostQuery+Dump_Immediately bug :)

From: Elwin M. Oost
Subject: lynx-dev Cookie+PostQuery+Dump_Immediately bug :)
Date: Thu, 19 Nov 1998 19:20:41 +0100 (MET)


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.

Hope I have not missed something,


reply via email to

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