Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected result from example shown in README #85

Open
dmke opened this issue Aug 24, 2020 · 0 comments
Open

Unexpected result from example shown in README #85

dmke opened this issue Aug 24, 2020 · 0 comments

Comments

@dmke
Copy link

dmke commented Aug 24, 2020

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").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant