[TASK] Move Page ID resolving to PSR-15 middleware 61/55961/6
authorBenni Mack <benni@typo3.org>
Thu, 1 Mar 2018 07:29:09 +0000 (08:29 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Thu, 1 Mar 2018 15:27:15 +0000 (16:27 +0100)
commit3bea9e18c193b90ffb3228608ffc1a597a216afc
treebc1c016183efd1ee23d4ef5d996ca3a1b882962e
parent02495b1c6d990afc575dddb45d6ef6c3be0012c6
[TASK] Move Page ID resolving to PSR-15 middleware

The next PSR-15 middleware is introduced that was previously part of the
Frontend Request Handler. It defines the actual (current) implementation
to determine the Page ID and GET/POST parameters handled in TSFE.

A possible alternative could be a Router doing the same process at this
very position currently.

Resolves: #84096
Releases: master
Change-Id: I6aa9b5f35183034a8ebb93258d085acafb93862a
Reviewed-on: https://review.typo3.org/55961
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benjamin Franzke <bfr@qbus.de>
Tested-by: Benjamin Franzke <bfr@qbus.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/frontend/Classes/Http/RequestHandler.php
typo3/sysext/frontend/Classes/Middleware/PageResolver.php [new file with mode: 0644]
typo3/sysext/frontend/Configuration/RequestMiddlewares.php