Home » Networking » Net_UserAgent_Detect » Bug #8416
Opera is detectet wrong!
Details
| Submitted | 2006-08-11 09:20 UTC |
|---|---|
| From | hans at badeball dot net |
| Assigned | jrust |
| Status | Closed |
| Package | Net_UserAgent_Detect |
| PHP Version | 4.4.2 |
| OS | Windows xp |
| Roadmaps | (Not assigned) |
Comments
[2006-08-11 09:20 UTC] hans at badeball dot net
Description:
------------
Opera 9.00 IS detected as Opera 5.x.
I think the bug is that Net_UserAgent_Detect use the NT version, not the browser version.
Here is the User Agent String: Opera/9.00 (Windows NT 5.1; U; en)
My browser is set to identificate as Opera.
Test script:
---------------
echo 'User Agent String: ' . Net_UserAgent_Detect::getBrowserString();
Expected result:
----------------
User Agent String: Opera 5.x
Actual result:
--------------
User Agent String: Opera 9.00