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
F19241888: D11282.id27111.diff
Sun, Dec 21, 10:42 PM
F18975618: D11282.id27111.diff
Nov 16 2025, 8:20 AM
F18876810: D11282.id.diff
Nov 6 2025, 3:47 AM
F18876188: D11282.diff
Nov 5 2025, 10:17 PM
F18811927: D11282.id.diff
Oct 20 2025, 5:53 AM
F18724468: D11282.id.diff
Sep 30 2025, 3:44 AM
F18722340: D11282.diff
Sep 29 2025, 10:31 PM
Unknown Object (File)
Jul 1 2025, 5:09 AM
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.