summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordmose%mozilla.org <>2000-10-13 09:36:39 +0200
committerdmose%mozilla.org <>2000-10-13 09:36:39 +0200
commit1f1e223645c7f6f3fd3c96d3fef264743b251312 (patch)
tree01b7eef834f4ebfab3c92fe4de391ba7528a9b11
parent462e4d85321273d9c9bcf5875ea0a3cb9e2780f2 (diff)
downloadbugzilla-1f1e223645c7f6f3fd3c96d3fef264743b251312.tar.gz
bugzilla-1f1e223645c7f6f3fd3c96d3fef264743b251312.tar.xz
updated user-agent matching code to be more accurate about Win95 and MacOS
-rwxr-xr-xenter_bug.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index cd68bfdea..8574d7795 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -200,7 +200,7 @@ sub pickos {
/Mozilla.*\(.*;.*; 32bit.*\)/ && do {return "Windows 95";};
/Mozilla.*\(.*;.*; 16bit.*\)/ && do {return "Windows 3.1";};
/Mozilla.*\(.*;.*; 68K.*\)/ && do {return "Mac System 8.5";};
- /Mozilla.*\(.*;.*; PPC.*\)/ && do {return "Mac System 8.5";};
+ /Mozilla.*\(.*;.*; PPC.*\)/ && do {return "Mac System 8.5 or later";};
/Mozilla.*\(.*;.*; OSF.*\)/ && do {return "OSF/1";};
/Mozilla.*\(.*;.*; Linux.*\)/ && do {return "Linux";};
/Mozilla.*\(.*;.*; SunOS 5.*\)/ && do {return "Solaris";};
@@ -208,7 +208,7 @@ sub pickos {
/Mozilla.*\(.*;.*; SunOS.*\)/ && do {return "SunOS";};
/Mozilla.*\(.*;.*; BSD\/OS.*\)/ && do {return "BSDI";};
/Mozilla.*\(Win16.*\)/ && do {return "Windows 3.1";};
- /Mozilla.*\(Win95.*\)/ && do {return "Windows 95";};
+ /Mozilla.*\(.*Win95.*\)/ && do {return "Windows 95";};
/Mozilla.*\(Win98.*\)/ && do {return "Windows 98";};
/Mozilla.*\(WinNT.*\)/ && do {return "Windows NT";};
/Mozilla.*Windows NT 5.*\)/ && do {return "Windows 2000";};