summaryrefslogtreecommitdiffstats
path: root/Bugzilla/UserAgent.pm
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2012-02-25 15:32:13 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-02-25 15:32:13 +0100
commit775710d62d38f9395f938e76be41fb2381fd09f1 (patch)
treee403a04fd7bdc27f6c60af6799587bad0d8b716f /Bugzilla/UserAgent.pm
parent37eeb6d4ce00519e29e8f7f1d62251b2d5a6a3b1 (diff)
downloadbugzilla-775710d62d38f9395f938e76be41fb2381fd09f1.tar.gz
bugzilla-775710d62d38f9395f938e76be41fb2381fd09f1.tar.xz
Bug 714368: Add Windows 8 detection
r=timeless a=LpSolit
Diffstat (limited to 'Bugzilla/UserAgent.pm')
-rw-r--r--Bugzilla/UserAgent.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm
index cafbe9ca7..e99a6d99f 100644
--- a/Bugzilla/UserAgent.pm
+++ b/Bugzilla/UserAgent.pm
@@ -101,6 +101,7 @@ use constant OS_MAP => (
qr/\(.*HP-?UX.*\)/ => ["HP-UX"],
# Windows
qr/\(.*Windows XP.*\)/ => ["Windows XP"],
+ qr/\(.*Windows NT 6\.2.*\)/ => ["Windows 8"],
qr/\(.*Windows NT 6\.1.*\)/ => ["Windows 7"],
qr/\(.*Windows NT 6\.0.*\)/ => ["Windows Vista"],
qr/\(.*Windows NT 5\.2.*\)/ => ["Windows Server 2003"],