Project

General

Profile

Actions

Task #83727

closed

Epic #83894: PSR-15 Initiative

Reimplement EXT:redirect as PSR-15 middleware

Added by Benjamin Franzke almost 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #83725: Introduce PSR-15 HTTP Middleware supportClosed2018-01-29

Actions
Actions

Also available in: Atom PDF