Project

General

Profile

Actions

Bug #24454

closed

t3lib_utility_Client::getBrowserInfo() fails to detect Chrome

Added by Andreas Lappe almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-01-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

t3lib_utility_Client::getBrowserInfo() detects Chrome as safari because the UA has Safari as last entry. The attached patch fixes it and adds a UnitTest to make sure it works and does not interfere with Safari, Konqueror etc.

The UnitTest makes sense combined with the ones added in http://bugs.typo3.org/view.php?id=16878
(issue imported from #M16892)


Files

getBrowserInfo-ChromeBugfix.diff (2 KB) getBrowserInfo-ChromeBugfix.diff Administrator Admin, 2011-01-02 22:25

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #24443: getBrowserInfo should recognize iOS and android for easier mobile optimizationClosedErnesto Baschny2010-12-30

Actions

No data to display

Actions

Also available in: Atom PDF