Project

General

Profile

Actions

Bug #97197

closed

Method getServerParams missing in RequestWrapper

Added by Marc Bastian Heinrichs about 2 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2022-03-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Conditions
Complexity:
Is Regression:
Sprint Focus:

Description

Using [request.getServerParams() && request.getServerParams()['HTTP_USER_AGENT'] == "Foo"]
results in some requests (still to be debugged when) in logged exception: "RuntimeException: Unable to call method "getServerParams" of object "TYPO3\CMS\\Core\ExpressionLanguage\RequestWrapper\.

IMO in any case getServerParams should be added to the RequestWrapper, too.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #100595: Unable to call method "getPageType" of object "TYPO3\CMS\Backend\Routing\RouteResult".Closed2023-04-14

Actions
Actions

Also available in: Atom PDF