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

#platform is not normalized for Windows user on QQ Browser #49

Open
prashcr opened this issue Apr 11, 2018 · 0 comments
Open

#platform is not normalized for Windows user on QQ Browser #49

prashcr opened this issue Apr 11, 2018 · 0 comments

Comments

@prashcr
Copy link

prashcr commented Apr 11, 2018

[2] pry(main)> ua = UserAgent.parse('Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 MicroMessenger/6.5.2.501 NetType/WIFI WindowsWechat QBCore/3.43.691.400 QQBrowser/9.0.2524.400')
[3] pry(main)> ua.os
=> "Windows 7"
[4] pry(main)> ua.platform
=> "Windows NT 6.1"

It seems to parse the OS correctly, but the platform is not normalized.
I'd expect #platform to return Windows as it does for other Win7 browsers

Gem version: 0.16.8

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

2 participants
@prashcr and others