-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
The README gives the following example:
UserAgentParser.parse "Mozilla/5.0 (iPad; CPU OS 10_2_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) GSA/23.1.148956103 Mobile/14D27 Safari/600.1.4"
#=> <UserAgentParser::UserAgent Mobile Safari 10.2.1 (iOS 10.2.1) (iPad)>however, with the current version (2.7.0), I'll a different browser:
UserAgentParser.parse "Mozilla/5.0 (iPad; CPU OS 10_2_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) GSA/23.1.148956103 Mobile/14D27 Safari/600.1.4"
#=> #<UserAgentParser::UserAgent Google 23.1.148956103 (iOS 10.2.1) (iPad)>I've never seen a GSA/x.y.z fragment, so I'm not sure what the correct output should be ("Google 23.1.148956103" or "Safari 10.2.1").
Metadata
Metadata
Assignees
Labels
No labels