[BUGFIX] Evaluate config.defaultGetVars in middleware 66/58266/3
authorBenni Mack <benni@typo3.org>
Thu, 13 Sep 2018 11:41:29 +0000 (13:41 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 13 Sep 2018 13:05:07 +0000 (15:05 +0200)
commit76d1c9c4f3a30c81b300eff454d23dd3dc3f9a18
treed164e6c1b19819eec88613f915c824bc2da06ac3
parentdcd8920ea1db57a051672f4096cbc1d54a07e11e
[BUGFIX] Evaluate config.defaultGetVars in middleware

The config.defaultGetVars is executed and $_GET is modified,
but not the middleware where this method is called.

In order to also modify the middleware's request object, the
option config.defaultGetVars is also evaluted again in the PSR-15
middleware.

Resolves: #86241
Related: #86046
Releases: master
Change-Id: I2238d93b4974a40b2228c099cef7c8a04bd6cf74
Reviewed-on: https://review.typo3.org/58266
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Sattler <sattler@b13.de>
Tested-by: Daniel Sattler <sattler@b13.de>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php