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

Windows Phone device detected as "Apple Iphone" #5598

Closed
nodeffect opened this issue Mar 20, 2017 · 2 comments

Comments

@nodeffect
Copy link

commented Mar 20, 2017

Found a bug where it detects Windows phone as "iPhone". Details as below:

User agent:
Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; Microsoft; RM-1141) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537

Smartphone device detected as "Apple iPhone".

Please see this link below for more details:
http://devicedetector.net/?ua=Mozilla%2F5.0+%28Mobile%3B+Windows+Phone+8.1%3B+Android+4.0%3B+ARM%3B+Trident%2F7.0%3B+Touch%3B+rv%3A11.0%3B+IEMobile%2F11.0%3B+Microsoft%3B+RM-1141%29+like+iPhone+OS+7_0_3+Mac+OS+X+AppleWebKit%2F537+%28KHTML%2C+like+Gecko%29+Mobile+Safari%2F537

@sgiehl

This comment has been minimized.

Copy link
Member

commented Mar 20, 2017

I'll add a detection for this specific device RM-1141 (Lumia 540). But that won't prevent any other incorrect detections for Windows phone devices. The useragents they use are completely non-sense. It includes fragments of three operating systems - Windows, Android and iOS.

@nodeffect

This comment has been minimized.

Copy link
Author

commented Mar 20, 2017

sorry, I dont know why it returns this weird user agent... my bad for not looking clearly. I guess something else went wrong.... please close this ticket...

@nodeffect nodeffect closed this Mar 20, 2017

sgiehl added a commit that referenced this issue Mar 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.