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)
Sun, Dec 8, 4:21 PM
Unknown Object (File)
Thu, Dec 5, 7:09 AM
Unknown Object (File)
Sat, Nov 30, 7:52 AM
Unknown Object (File)
Tue, Nov 26, 4:08 AM
Unknown Object (File)
Mon, Nov 25, 2:44 PM
Unknown Object (File)
Mon, Nov 25, 9:48 AM
Unknown Object (File)
Thu, Nov 21, 10:43 AM
Unknown Object (File)
Nov 20 2024, 5:42 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.