summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-11-20 16:16:33 +0100
committerDavid Lawrence <dkl@mozilla.com>2014-11-20 16:16:33 +0100
commite673eb9a8a8ad26a0016d5806c8fec2c5e5a096b (patch)
tree725a588fdfff0ae00b30ffdd08711276b09e486c
parentee5198e9e0c4197327f96f27c7e4347259dc5a74 (diff)
downloadbugzilla-e673eb9a8a8ad26a0016d5806c8fec2c5e5a096b.tar.gz
bugzilla-e673eb9a8a8ad26a0016d5806c8fec2c5e5a096b.tar.xz
Bug 1101151: OS sniffing should detect Windows 10 from "Windows NT 6.4" instead of detecting Windows NT
r=LpSolit,a=glob
-rw-r--r--Bugzilla/UserAgent.pm1
1 files changed, 1 insertions, 0 deletions
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"],