Page MenuHomePhabricator

Be more conservative in overwriting `phcid`
Closed, ResolvedPublic

Description

@asherkin reports some issues with OAuth and 'state' cookies, which I can only guess might be 'phcid'-ovewrite related.

We can set this cookie to expire when the browser closes and decline to overwrite it with no appreciable effects on security.

Event Timeline

epriestley triaged this task as Normal priority.Jul 1 2013, 2:35 PM
epriestley added a project: Auth.
epriestley added subscribers: epriestley, asherkin.

Another user with SPOF-O-Matic installed (see also T3117) also hit an issue.

"Speed DNS" also apparently causes problems, presumably through a similar mechanism:

https://addons.mozilla.org/en-US/firefox/addon/speed-dns/

The phcid and phreg, and next cookies should also expire when the browser closes rather than having very long lifetimes.

epriestley changed the visibility from "All Users" to "Public (No Login Required)".Feb 25 2014, 6:34 PM

Oh, that was already in the description:

We can set this cookie to expire when the browser closes...