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

Apple Mail incorrectly detected as version 605 #528

Open
veqryn opened this issue Sep 20, 2022 · 0 comments
Open

Apple Mail incorrectly detected as version 605 #528

veqryn opened this issue Sep 20, 2022 · 0 comments

Comments

@veqryn
Copy link

veqryn commented Sep 20, 2022

Apple Mail (an email client) uses user agent strings like so:

Apple Mail version 13
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko)

Apple Mail version 12
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko)

Apple Mail version 11
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko)

Apple Mail version 10
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko)

Apple Mail version 9
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko)

Apple Mail version 8
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/600.8.9 (KHTML, like Gecko)

It appears that they are tied to the OS version, being "2" less than the OS minor version, though that may or may not be true in the future.

Unfortunately, ua-parser returns the WebKit version (605 major, 1 minor, 15 patch) instead of the version of Apple Mail.

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
@veqryn and others