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: release-5.1.1~451 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e673eb9a8a8ad26a0016d5806c8fec2c5e5a096b;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"],