Project

General

Profile

Actions

Bug #87180

closed

TypoScriptFrontendInitialization using GeneralUtility::_GP instead of $request parameter

Added by Kevin Ditscheid almost 6 years ago. Updated almost 6 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-12-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The middleware TypoScriptFrontendInitialization is a very great feature in TYPO3 9, however it is useless to create a middlware that shall alter the parameters given to that middleware by giving the TypoScriptFrontendInitialization an altered request object, because it does not use the body or query string of the request object.
This should imo be changed, because it is not ideal, that the TypoScriptFrontendInitialization middleware fetches its parameters via GeneralUtility::_GP.

Actions #1

Updated by Georg Ringer almost 6 years ago

  • Status changed from New to Rejected

see the class comment

"For now, GeneralUtility::_GP() is used in favor of $request->getQueryParams() due to hooks who could have $_GET/$_POST modified before."

Actions

Also available in: Atom PDF