[TASK] Avoid usage of superglobal $_COOKIE in favor of PSR-7
This change reduces most usages of the superglobal "$_COOKIE" in TYPO3 Core in favor of PSR-7 $request->getCookieParams(). The previously used > UserSessionManager->createFromGlobalCookieOrAnonymous method is marked as deprecated. Resolves: #99201 Releases: main Change-Id: I0f4d3efe6af6d41c8c1431d5d7efba0d00fb22e7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76834 Reviewed-by:Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com>
Showing
- typo3/sysext/adminpanel/Classes/Modules/Info/GeneralInformation.php 4 additions, 4 deletions...xt/adminpanel/Classes/Modules/Info/GeneralInformation.php
- typo3/sysext/adminpanel/Classes/Modules/Info/RequestInformation.php 4 additions, 4 deletions...xt/adminpanel/Classes/Modules/Info/RequestInformation.php
- typo3/sysext/backend/Classes/Controller/LoginController.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Controller/LoginController.php
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 1 addition, 1 deletion...core/Classes/Authentication/BackendUserAuthentication.php
- typo3/sysext/core/Classes/Session/UserSessionManager.php 2 additions, 0 deletionstypo3/sysext/core/Classes/Session/UserSessionManager.php
- typo3/sysext/core/Documentation/Changelog/11.0/Feature-93023-IntroduceUserSessionAndUserSessionManager.rst 2 additions, 1 deletion...ature-93023-IntroduceUserSessionAndUserSessionManager.rst
- typo3/sysext/core/Documentation/Changelog/12.1/Deprecation-99201-UserSessionManager-createFromGlobalCookieOrAnonymous.rst 50 additions, 0 deletions...-UserSessionManager-createFromGlobalCookieOrAnonymous.rst
- typo3/sysext/frontend/Tests/Unit/Authentication/FrontendUserAuthenticationTest.php 0 additions, 1 deletion...ts/Unit/Authentication/FrontendUserAuthenticationTest.php
- typo3/sysext/install/Classes/Controller/BackendModuleController.php 6 additions, 6 deletions...xt/install/Classes/Controller/BackendModuleController.php
- typo3/sysext/install/Classes/Middleware/Installer.php 2 additions, 2 deletionstypo3/sysext/install/Classes/Middleware/Installer.php
- typo3/sysext/install/Classes/Middleware/Maintenance.php 11 additions, 11 deletionstypo3/sysext/install/Classes/Middleware/Maintenance.php
- typo3/sysext/install/Classes/Service/SessionService.php 16 additions, 13 deletionstypo3/sysext/install/Classes/Service/SessionService.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php 7 additions, 0 deletions.../Configuration/ExtensionScanner/Php/MethodCallMatcher.php
Please register or sign in to comment