From e673eb9a8a8ad26a0016d5806c8fec2c5e5a096b Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 20 Nov 2014 15:16:33 +0000 Subject: Bug 1101151: OS sniffing should detect Windows 10 from "Windows NT 6.4" instead of detecting Windows NT r=LpSolit,a=glob --- Bugzilla/UserAgent.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla/UserAgent.pm') diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm index 963e30511..6ceb9d3c5 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"], -- cgit v1.2.3-24-g4f1b