Issue Bug Closed

#26734Android not detected properly by t3lib_utility_Client::getBrowserInfo()

Francois Suter 05/10/11, 17:03 updated 10/24/17, 20:18

Description

Android system is not properly detected by t3lib_utility_Client::getBrowserInfo() depending on what browser is used on the mobile device. For example using Opera Mini, the following User-Agent info is received:

Opera/9.80 (Android; Opera Mini/6.0.24556/24.816; U; en) Presto/2.5.25
Version/10.54

but in order to detect an Android device, t3lib_utility_Client::getBrowserInfo() expects to find “Linux” in the User-Agent string. Indeed the Android detection is a sub-test of the Linux detection.

I propose to move the Android test at the same level of the Linux test.

Reviews 3