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
Unknown Object (File)
Mar 10 2026, 2:58 PM
Unknown Object (File)
Mar 10 2026, 2:58 PM
Unknown Object (File)
Mar 7 2026, 3:52 PM
Unknown Object (File)
Mar 4 2026, 10:01 AM
Unknown Object (File)
Dec 21 2025, 10:42 PM
Unknown Object (File)
Nov 16 2025, 8:20 AM
Unknown Object (File)
Nov 6 2025, 3:47 AM
Unknown Object (File)
Nov 5 2025, 10:17 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.