mcauer / browserscope

Automatically exported from code.google.com/p/browserscope
Apache License 2.0
0 stars 0 forks source link

UA Parsing Is Incorrect: iPhone OS 4.0 #196

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
We thought you were using the browser:

iPhone OS 3.1.2

You are really using the browser:

iPhone OS 4.0

------------------------------------------------------------------------

iPhone OS 4 beta has the following user agent:

Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X; en-us) 
AppleWebKit/532.9 (KHTML, like Gecko) Version/4.04 Mobile/7D11 
Safari/531.21.10

Which is understandably detected as 3.1.2. Compare this with the user agent 
of a phone that is running 3.1.2:

Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X; en-us) 
AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7D11 
Safari/528.16

Perhaps a special case could be created based on 'AppleWebKit', 'Version' 
or 'Safari'.

Original issue reported on code.google.com by niels.le...@gmail.com on 20 Apr 2010 at 8:49

GoogleCodeExporter commented 8 years ago
This is pretty wacky. Pinning on an older build # of Safari probably won't last 
very 
long, and well, I just wanna punt this - the UA string is really just lying, no?

Original comment by els...@gmail.com on 17 May 2010 at 10:29