Deprecation: #85858 - GeneralUtility::clientInfo()¶
See Issue #85858
The helper method
GeneralUtility::clientInfo() responsible for
parsing the server variable
$_SERVER['HTTP_USER_AGENT'] has been marked
This method is not up-to-date with current browser headers, and in light of browser that are able to fake the HTTP_USER_AGENT the detection is not practical anymore.
Calling the method directly will trigger a PHP
Any TYPO3 installation with extensions directly calling this method.
Depending on the use-case, it is best to use the PSR-7-based request object,
if available in the context, or
$_SERVER['HTTP_USER_AGENT'] to detect a
specific browser/client user agent.