ua-parser / uap-ruby

A simple, comprehensive Ruby gem for parsing user agent strings with the help of BrowserScope's UA database
MIT License
256 stars 42 forks source link

MSIE 10.6 being detected as IE9 #52

Open brodock opened 5 years ago

brodock commented 5 years ago

'Mozilla/5.0 (compatible; MSIE 10.6; Windows NT 6.1; Trident/5.0; InfoPath.2; SLCC1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 2.0.50727) 3gpp-gba UNTRUSTED/1.0'

is returning : #<UserAgentParser::UserAgent IE 9.0 (Windows 7) (Other)>

misdoro commented 4 years ago

It will be an issue for https://github.com/ua-parser/uap-core/blob/1b325e388917e376c2fc7fa6cd3be496a2554eae/regexes.yaml#L806

Looks more like IE10 running in IE9 compatibility mode.