Page MenuHomePhabricator

Fix an issue with clearing cookies when a cookie prefix is set
ClosedPublic

Authored by epriestley on Jan 8 2015, 8:10 PM.
Tags
None
Referenced Files
F14062625: D11282.id27111.diff
Mon, Nov 18, 1:17 PM
F14057337: D11282.diff
Sun, Nov 17, 2:20 AM
F14040103: D11282.id27111.diff
Mon, Nov 11, 7:26 AM
F14002409: D11282.diff
Fri, Oct 25, 6:42 PM
F14001968: D11282.id27111.diff
Fri, Oct 25, 1:42 PM
Unknown Object (File)
Oct 5 2024, 6:30 PM
Unknown Object (File)
Sep 4 2024, 10:31 AM
Unknown Object (File)
Aug 30 2024, 2:21 PM
Subscribers

Details

Summary

If a cookie prefix is set (as on the Phacility cluster), we end up double-namespacing cookies when trying to remove them. This can make logging out produce a cookie error.

Test Plan

Logged out locally with cookie prefix, got normal logout workflow.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix an issue with clearing cookies when a cookie prefix is set.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
src/aphront/AphrontRequest.php
459

Specifically, the name gets prefixed here.

btrahan edited edge metadata.
This revision is now accepted and ready to land.Jan 8 2015, 11:06 PM
This revision was automatically updated to reflect the committed changes.