Issue #2631220: Apply changes from MR 2210 to 11.x
Applies the changes from MR 2210 by James Gilliland to 11.x, with some modifications.
Differences from MR 2210:
-
SessionHandler::updateTimestamp()explicitly updates the timestamp. This is consistent with the PHP documentation and with several of Symfony's session storage handlers. - Uses the current logic of
SessionHandler::readfor the newSessionHandler::doRead. - Uses the current logic of
SessionHandler::writefor the newSessionHandler::doWrite. - Uses the current logic of
SessionHandler::destroyfor the newSessionHandler::doDestroy. - Adds an ini setting for
session.use_strict_mode. - Adds
#[\SensitiveParameter]to relevant methods. - Removes deprecation declaration on
WriteSafeSessionHandler::$wrappedSessionHandler. - Adds a test.
- Modifies
TestSessionHandlerProxyto implement\SessionUpdateTimestampHandlerInterface. This was required to fix failing tests.
See !2210 (closed)
Closes #2631220