summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-08-10 16:19:32 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2015-08-10 16:19:32 +0200
commit9b51a3012d538d90b524dead346852dbc29086cc (patch)
treecfdc57f4fb7507265336e36bb0652f12cd67995a
parent074b14f6a51299ff7490becadadb006255b07015 (diff)
downloadbugzilla-9b51a3012d538d90b524dead346852dbc29086cc.tar.gz
bugzilla-9b51a3012d538d90b524dead346852dbc29086cc.tar.xz
Bug 1172333: The OS field doesn't recognize Windows 10
r=gerv a=sgreen
-rw-r--r--Bugzilla/UserAgent.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm
index 6ceb9d3c5..14637038c 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 10\.0.*\)/ => ["Windows 10"],
qr/\(.*Windows NT 6\.4.*\)/ => ["Windows 10"],
qr/\(.*Windows NT 6\.3.*\)/ => ["Windows 8.1"],
qr/\(.*Windows NT 6\.2.*\)/ => ["Windows 8"],