From 1f1e223645c7f6f3fd3c96d3fef264743b251312 Mon Sep 17 00:00:00 2001 From: "dmose%mozilla.org" <> Date: Fri, 13 Oct 2000 07:36:39 +0000 Subject: updated user-agent matching code to be more accurate about Win95 and MacOS --- enter_bug.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'enter_bug.cgi') 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";}; -- cgit v1.2.3-24-g4f1b