]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 714368: Add Windows 8 detection
authorMatt Selsky <selsky@columbia.edu>
Sat, 25 Feb 2012 14:32:13 +0000 (15:32 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Sat, 25 Feb 2012 14:32:13 +0000 (15:32 +0100)
r=timeless a=LpSolit

Bugzilla/UserAgent.pm

index cafbe9ca718d8854e772543fd8964a55ae1cf94c..e99a6d99f05fe9d843a4914a96f20b2974b1d736 100644 (file)
@@ -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"],