Re: Github et alia login/cookies issue

eocene <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
miroslav.rovis1 wrote:
> On Tue, Jul 07, 2015 at 10:27:30AM +0200, [email protected] wrote:
> > "Something went wrong with that request. Please try again."
> ...
> > $ cat  ~/.dillo/cookiesrc 
> > DEFAULT DENY
> > .github.com ACCEPT
> ...
> > $
> > 
> ...
> > LATER. I even got (and all the conf is the same, .gitbub,com is in
> > cookiesrc), just this morning 2015-07-07 09:35 right now, the:
> > 
> > "Cookies must be enabled to use GitHub."

I see what the problems are with github cookies.

1. In cookiesrc, ".github.com" is for subdomains of github, and "github.com"
   is for that host itself, so you need a "github.com" rule.

2. I was reluctant to follow the full date parsing in RFC 6265 until I had a
   compelling reason, but you have brought me a compelling reason. github's
   cookies have expiration dates like "Sat, 07 Jul 2035 13:24:19 -0000", which
   appears to be legal, but dillo doesn't recognize it. So I'll work on it.

   (By the way, I wonder why they think their cookie should last for 20 years.
   Makes me feel that I haven't been wasting my time with being careful with
   Year 2038 overflow on 32-bit machines...)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.