---
title: "Deprecation: #85858 - GeneralUtility::clientInfo()"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-85858"
source: "Changelog/9.4/Deprecation-85858-GeneralUtilityclientInfo.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Deprecation: #85858 - GeneralUtility::clientInfo()

See [forge#85858](https://forge.typo3.org/issues/85858)

## Description

The helper method `GeneralUtility::clientInfo()` responsible for
parsing the server variable `$_SERVER['HTTP_USER_AGENT']` has been marked
as deprecated.

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.

## Impact

Calling the method directly will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations

Any TYPO3 installation with extensions directly calling this method.

## Migration

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.
