Project

General

Profile

Actions

Bug #22697

closed

getBrowserInfo fails with IE UA Strings

Added by Steffen Kamper almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2010-05-22
Due date:
% Done:

0%

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

Description

IE has a speciality which leads to a failing result: it sends same browser with different versions, example:

'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ...

This leads to wrong detection when the last entry is used.

Solution: use first entry for msie

(issue imported from #M14458)


Files

14458.diff (1.21 KB) 14458.diff Administrator Admin, 2010-05-22 12:57
14458_testcase.diff (11.1 KB) 14458_testcase.diff Administrator Admin, 2010-05-22 13:10

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22511: getBrowserInfo delivers wrong infoClosedSteffen Kamper2010-04-26

Actions
Actions #1

Updated by Steffen Kamper almost 14 years ago

Committed to trunk rev 7844
Added test case t3lib_utility_clientTest.php in rev 7845

Actions

Also available in: Atom PDF