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)
Fri, Jan 17, 7:45 AM
Unknown Object (File)
Mon, Jan 13, 4:46 PM
Unknown Object (File)
Sun, Jan 12, 5:45 PM
Unknown Object (File)
Sat, Jan 11, 1:31 PM
Unknown Object (File)
Wed, Jan 1, 2:09 AM
Unknown Object (File)
Fri, Dec 27, 5:33 PM
Unknown Object (File)
Dec 8 2024, 4:21 PM
Unknown Object (File)
Dec 5 2024, 7: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.