Issue Bug Closed

#97197Method getServerParams missing in RequestWrapper

Marc Bastian Heinrichs 03/16/22, 20:46 updated 02/06/24, 13:19

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.