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

Old opera UserAgent not recognized correctly #59

Closed
ewjoachim opened this issue Nov 12, 2014 · 1 comment
Closed

Old opera UserAgent not recognized correctly #59

ewjoachim opened this issue Nov 12, 2014 · 1 comment

Comments

@ewjoachim
Copy link

I experienced a problem when parsing the browser version of a visitor on my website, and it boils down to that :

>>> import httpagentparser
>>> result = httpagentparser.detect("Opera/9.64(Windows NT 5.1; U; en) Presto/2.1.1")
>>> print result
{'platform': {'version': 'XP', 'name': 'Windows'}, 'os': {'version': 'XP', 'name': 'Windows'}, 'browser': {'version': '9.64(Windows', 'name': 'Opera'}}

I think it's because there should be a space between 4 and ( but still, this is an existing Opera user agent (http://www.useragentstring.com/Opera9.64_id_13933.php).

Thank you

@shon shon closed this as completed in ad62814 Nov 18, 2014
@shon
Copy link
Owner

shon commented Nov 18, 2014

New release 1.7.6 has the fix. Thanks for reporting.

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