HomePhabricator

Trust generated session id on new request

Authored by Enst80 on Jul 14 2018, 1:07 PM.

Description

Trust generated session id on new request

Otherwise SessionManager::getSessionFromInfo() resets it to a new value
which in turn causes subsequent errors like deleting a session id cookie
on first request instead of setting it etc... Either we set the flag
idIsSafe or let the SessionInfo constructor itself generate an id for us.

Bug: T198928
Bug: T191730
Change-Id: I527c79852ac0cc836923118a844cdc52ed2aff06

Details

Committed
Enst80Jul 19 2018, 5:54 AM
Parents
rEARU89faa0cc72d3: Fully embrace associative arrays
Branches
Unknown
Tags
Unknown
References
REL1_27, refs/changes/28/446728/1
ChangeId
I527c79852ac0cc836923118a844cdc52ed2aff06