summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-11-16 12:19:17 +0100
committerlpsolit%gmail.com <>2009-11-16 12:19:17 +0100
commiteba41431743328f1b37aa6edfb9a5dd49aa791b8 (patch)
tree7c101fe9c65a8ae44b3836cf78bbd696d736d442
parent2bd074dc1b5121ce2f84e405869bc15d65cdd422 (diff)
downloadbugzilla-eba41431743328f1b37aa6edfb9a5dd49aa791b8.tar.gz
bugzilla-eba41431743328f1b37aa6edfb9a5dd49aa791b8.tar.xz
Bug 475234: OS sniffing doesn't detect Windows 7 - Patch by Siddharth Agarwal [:sid0] <sid.bugzilla@gmail.com> r=timeless a=LpSolit
-rwxr-xr-xenter_bug.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 2ae05b4d6..ab0108748 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -289,6 +289,7 @@ sub pickos {
/\(.*VMS.*\)/ && do {push @os, "OpenVMS";};
/\(.*Win.*\)/ && do {
/\(.*Windows XP.*\)/ && do {push @os, "Windows XP";};
+ /\(.*Windows NT 6\.1.*\)/ && do {push @os, "Windows 7";};
/\(.*Windows NT 6\.0.*\)/ && do {push @os, "Windows Vista";};
/\(.*Windows NT 5\.2.*\)/ && do {push @os, "Windows Server 2003";};
/\(.*Windows NT 5\.1.*\)/ && do {push @os, "Windows XP";};