From: dmose%mozilla.org <> Date: Fri, 13 Oct 2000 07:36:39 +0000 (+0000) Subject: updated user-agent matching code to be more accurate about Win95 and MacOS X-Git-Tag: bugzilla-2.12~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f1e223645c7f6f3fd3c96d3fef264743b251312;p=thirdparty%2Fbugzilla.git updated user-agent matching code to be more accurate about Win95 and MacOS --- diff --git a/enter_bug.cgi b/enter_bug.cgi index cd68bfdea4..8574d7795f 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";};