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-4.4.7~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1634d5e553848e371dd07b00c1053d199d30764;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 9f98d597cf..5615f86eec 100644 --- a/Bugzilla/UserAgent.pm +++ b/Bugzilla/UserAgent.pm @@ -103,6 +103,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"],