Skip to content
Snippets Groups Projects
Commit 24f9946c authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Benni Mack
Browse files

[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: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 8019925c
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment