Actions
Task #83727
closedEpic #83894: PSR-15 Initiative
Reimplement EXT:redirect as PSR-15 middleware
Start date:
2018-01-29
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
The redirect handling is a perfect usecase of PSR-15 middlewares.
Redirect handling wants to a) prevent the regular frontend rendering and b) return an own response. c) in case a no redirect matches it want's the regular RequestHandler to be invoked.
a) is doable by not invoking the RequestHandler a middleware gets passed by parameter
b) is simple by simply returning an own PSR-7 Response
c) is the standard case for a middleware.
Actions