3rd-Eden / useragent

Useragent parser for Node.js, ported from browserscope.org
MIT License
897 stars 137 forks source link

Windows Phone 8.1 incorrectly identified as Android #65

Open ARAtlas opened 9 years ago

ARAtlas commented 9 years ago

Reference: https://msdn.microsoft.com/en-us/library/ie/hh869301%28v=vs.85%29.aspx#ie11

Windows Phone uses this user agent:

Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 520) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537

useragent reports that the device is an Android

JuoCode commented 9 years ago

Why the user agent string of Windows Phone contains Android and iPhone OS string ?