[TASK] Deprecate HTTP headers manipulating methods in HttpUtility
Following methods in HttpUtility are deprecated, since they call `die()` / `exit()` and furthermore directly manipulate the HTTP header via `header()`. - `redirect()` - `setResponseCode()` - `setResponseCodeAndExit()` Resolves: #94316 Releases: master Change-Id: Ica1970baf43c7cccb70b3564b229c882c1fe493c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69464 Tested-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Classes/Utility/HttpUtility.php 10 additions, 0 deletionstypo3/sysext/core/Classes/Utility/HttpUtility.php
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-94316-DeprecatedHTTPHeaderManipulatingMethodsFromHttpUtility.rst 84 additions, 0 deletions...eprecatedHTTPHeaderManipulatingMethodsFromHttpUtility.rst
- typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallStaticMatcher.php 21 additions, 0 deletions...guration/ExtensionScanner/Php/MethodCallStaticMatcher.php
Please register or sign in to comment