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

add support for mac os detection when agent is macoutlook #320

Merged
merged 3 commits into from
Sep 14, 2018

Conversation

gurvindersingh
Copy link
Contributor

Currently given this UA MacOutlook/16.12.0.180401 (Intelx64 Mac OS X Version 10.12.6 (build 16G29)) string, uap parser fails to detect the OS. It detects user agent fine but not the OS. This patch adds the support for OS detection as well.

@@ -378,6 +378,13 @@ test_cases:
patch:
patch_minor:

- user_agent_string: 'MacOutlook/16.12.0.180401 (Intelx64 Mac OS X Version 10.12.6 (build 16G29))'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gurvindersingh You'll need one more space here, then your tests might run.

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

Successfully merging this pull request may close these issues.

4 participants