Hi,
I'm Cc'ing the BRLTTY list because the discussion that gave rise to this
bug report started there.
Here is an example of a Set-Cookie line as sent by Amazon:
Set-Cookie: session-id-time=1210802400l; path=/; domain=.amazon.fr;
expires=Wed May 14 22:00:00 2008
The problem is that the LYmktime function defined in src/LYUtils.c can't
parse the expiration date. So, instead of returning a valid time it
returns 0. As a consequence lynx considers the cookie as having expired
and does not even keep track of it.
As a tempory fix, one may add two lines like these at the beginning of
the abovementionned function:
now = time(NULL);
if (s!="") {
return now + 3600;
}
Obviously this is a poor fix. Hopefully upstream can come up with a more
robust version of LYmktime.
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty