From: Matt Selsky Date: Sat, 25 Feb 2012 14:32:13 +0000 (+0100) Subject: Bug 714368: Add Windows 8 detection X-Git-Tag: bugzilla-4.3.1~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=775710d62d38f9395f938e76be41fb2381fd09f1;p=thirdparty%2Fbugzilla.git Bug 714368: Add Windows 8 detection r=timeless a=LpSolit --- diff --git a/Bugzilla/UserAgent.pm b/Bugzilla/UserAgent.pm index cafbe9ca71..e99a6d99f0 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"],