From ecc04a6622cb9447eaca29be8a1c25947c1e1016 Mon Sep 17 00:00:00 2001 From: Gijs Kruitbosch Date: Mon, 17 Nov 2014 22:05:03 +0800 Subject: Bug 1097382: OS sniffing should detect Windows 10 from "Windows NT 6.4" instead of detecting Windows NT --- Bugzilla/UserAgent.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm index db95150e4..62d6115a9 100644 --- a/Bugzilla/UserAgent.pm +++ b/Bugzilla/UserAgent.pm @@ -123,6 +123,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