Review main Merged

67038[BUGFIX] Do not emit redirect() via PHP but via PSR-7

Benni Mack CR +2 V +2 Easy +17 −11 updated 12/07/20, 07:23

Commit message

In order to allow further manipulation of Response objects,
using "throw new ImmediateResponseException" is much
more flexible than calling HttpUtility::redirect() which immediately
stops the PHP process. This way, it is not even possible
for developers to manipulate the response, or even
test this behavior in functional tests with TYPO3 Core.

The change removes all usages of HttpUtility::redirect().
The method will be deprecated at a later stage.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 5