From: David Lawrence Date: Thu, 20 Nov 2014 15:16:33 +0000 (+0000) Subject: Bug 1101151: OS sniffing should detect Windows 10 from "Windows NT 6.4" instead of... X-Git-Tag: bugzilla-5.0rc1~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1fc447ad3467f47d773a9ca6e9caf31e7867f77d;p=thirdparty%2Fbugzilla.git Bug 1101151: OS sniffing should detect Windows 10 from "Windows NT 6.4" instead of detecting Windows NT r=LpSolit,a=glob --- diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm index 963e305113..6ceb9d3c5c 100644 --- a/Bugzilla/UserAgent.pm +++ b/Bugzilla/UserAgent.pm @@ -106,6 +106,7 @@ use constant OS_MAP => ( qr/\(.*Android.*\)/ => ["Android"], # Windows qr/\(.*Windows XP.*\)/ => ["Windows XP"], + qr/\(.*Windows NT 6\.4.*\)/ => ["Windows 10"], qr/\(.*Windows NT 6\.3.*\)/ => ["Windows 8.1"], qr/\(.*Windows NT 6\.2.*\)/ => ["Windows 8"], qr/\(.*Windows NT 6\.1.*\)/ => ["Windows 7"],