[TASK] Use local Request Object in Extbase UriBuilder
The EXT:extbase UriBuilder already has a local instance of the RequestInterface object, but relies in its method `buildBackendUrl()` solely on $GLOBALS['TYPO3_REQUEST']. This is now cleaned up, with a fallback on the global object in case none has been given as a local instance. In this case, a deprecation warning will be raised. Resolves: #99650 Releases: main Change-Id: Ib05a92c999e83e19cfde65a038439e3f571afba7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77507 Tested-by:Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com>
Showing
- typo3/sysext/core/Documentation/Changelog/12.2/Deprecation-99650-ExtbaseUriBuilderGlobalRequest.rst 42 additions, 0 deletions...12.2/Deprecation-99650-ExtbaseUriBuilderGlobalRequest.rst
- typo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php 14 additions, 7 deletionstypo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php
- typo3/sysext/extbase/Tests/Unit/Mvc/Web/Routing/UriBuilderTest.php 46 additions, 13 deletions...ext/extbase/Tests/Unit/Mvc/Web/Routing/UriBuilderTest.php
- typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/PageViewHelperTest.php 2 additions, 4 deletions.../Tests/Functional/ViewHelpers/Link/PageViewHelperTest.php
- typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/PageViewHelperTest.php 2 additions, 4 deletions...d/Tests/Functional/ViewHelpers/Uri/PageViewHelperTest.php
Please register or sign in to comment