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

Fix bug where the OS name cannot be determined from the user agent #295

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

ash-jc-allen
Copy link
Owner

This PR should fix issue: #294

The underlying package can't determine the OS from this user agent string:

Mozilla/4.0 (compatible; MSIE 6.0; ) Opera/UCWEB7.0.2.37/28/999

The package's code makes it appear that the field will always be set, so I never took into account it not being set. I've updated this now to handle those situations 🙂

@ash-jc-allen ash-jc-allen merged commit 195662f into master Aug 27, 2024
10 of 12 checks passed
@ash-jc-allen ash-jc-allen deleted the fix/uc-browser-bug branch August 27, 2024 08:16
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.

1 participant