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

Incorrect detection #8

Open
mikhainin opened this issue Oct 13, 2017 · 0 comments · May be fixed by #10
Open

Incorrect detection #8

mikhainin opened this issue Oct 13, 2017 · 0 comments · May be fixed by #10

Comments

@mikhainin
Copy link

Hi here,

We've faced some detecting issues using the library.

ini version

[GJK_Browscap_Version]
Version=6026
Released=Wed, 04 Oct 2017 09:10:48 +0000
Format=php
Type=FULL

Android becomes Linux Desktop

Mozilla/5.0 (Linux; Android 4.0.4; GT-N7000 Build/IMM76D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.93 Mobile Safari/537.36
Actual result

Browser = Chrome [Browser] v39.0
Platform = Linux vunknown
Device = Linux Desktop [Desktop] unknown

Expected result

Used pattern = "Mozilla/5.0 (*Linux*Android?4.0*GT-N7000 Build/*) applewebkit* (*khtml*like*gecko*) Chrome/39.0*Safari/*"
Browser = Chrome [Browser] v39.0
Platform = Android v4.0
Device = Galaxy Note [Mobile Phone] Samsung

Mobile Firefox looses version

Mozilla/5.0 (Android 4.1.1; Mobile; rv:55.0) Gecko/55.0 Firefox/55.0
Actual result

Browser = Firefox [Browser] v0.0
Platform = Android v4.1
Device = general Mobile Phone [Mobile Phone] unknown

Expected result

Used pattern = "Mozilla/5.0 (*Android 4.1*Mobile*) Gecko* Firefox/55.0*"
Browser = Firefox [Browser] v55.0
Platform = Android v4.1
Device = general Mobile Phone [Mobile Phone] unknown
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 a pull request may close this issue.

1 participant