Summary: | [GTK] Unable to login to some websites because cookies are rejected | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ting-Wei Lan <lantw44> |
Component: | WebKitGTK | Assignee: | Michael Catanzaro <mcatanzaro> |
Status: | RESOLVED MOVED | ||
Severity: | Normal | CC: | bugs-noreply, mcatanzaro, Ms2ger |
Priority: | P2 | ||
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugzilla.gnome.org/show_bug.cgi?id=792130 |
Description
Ting-Wei Lan
2018-03-01 06:53:22 PST
Is this a regression? Does it work if you downgrade to libsoup 2.61.2? In 2.61.90, I made the third party cookie policy more *permissive*. It is certainly possible that something has gone wrong. If downgrading libsoup doesn't help, please try the various recent unstable releases of WebKitGTK+ to try to pinpoint the one that introduced this regression; that will make it much easier for us to guess the problematic commit or bisect it. (In reply to Michael Catanzaro from comment #1) > Is this a regression? Yes. (In reply to Michael Catanzaro from comment #2) > Does it work if you downgrade to libsoup 2.61.2? In 2.61.90, I made the > third party cookie policy more *permissive*. It is certainly possible that > something has gone wrong. Yes, I can successfully login to Phabricator with libsoup 2.61.2. Please test again with libsoup 2.61.91; it should be fixed there, because Claudio reverted my commit that I think broke this. I'll continue to investigate and try to re-land in https://bugzilla.gnome.org/show_bug.cgi?id=792130. (In reply to Michael Catanzaro from comment #5) > Please test again with libsoup 2.61.91; it should be fixed there Do let us know :) (In reply to Michael Catanzaro from comment #6) > (In reply to Michael Catanzaro from comment #5) > > Please test again with libsoup 2.61.91; it should be fixed there > > Do let us know :) Yes, libsoup 2.61.91 works fine with Phabricator. Testing this today... No problems with GNOME Bugzilla or Freedesktop Bugzilla. I tried signing up for an account with FreeBSD Bugzilla, but the email confirmation has not arrived yet. We'll see how long it takes.... OK, the mail came through, it just took a while. I can reproduce on FreeBSD Bugzilla. Problem is the domain in the cookie starts with a dot, which we pass it into soup_tld_get_base_domain, which gets rejected with an error that hostnames must not begin with a dot. I'll prepare a fixed patch for GNOME Bugzilla. Thanks for reporting this problem, Ting-Wei! (The other Bugzillas were fine because they didn't set the cookie domain property.) |