Review main Merged

62593[BUGFIX] Send HTTP headers with PSR-7 response

Benni Mack CR +2 V +2 Normal +189 −56 updated 01/16/20, 09:24

Commit message

Current Backend User Authentication sends header()
which is not appended to the headers of the PSR-7
response and cannot be tested or validated properly.

This is mainly due to legacy reasons as AbstractUserAuthentication
sends these headers.

When using TYPO3 in a scenario to do sub-requests
within one PHP process, it is not possible to properly
evaluate these Response headers.

To enable this, the BackendUserAuthenticator middlewares
now apply the headers to the Response object.

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 4