From 3a14063761783372a378677b9901ec683d691294 Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" <> Date: Fri, 4 Dec 1998 00:10:51 +0000 Subject: Reworked the rep_platform and op_sys fields. BEWARE; this includes some changes to the database schema! --- enter_bug.cgi | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'enter_bug.cgi') diff --git a/enter_bug.cgi b/enter_bug.cgi index 529c394b8..6c41d1e97 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -78,12 +78,17 @@ sub pickplatform { return $value; } for ($ENV{'HTTP_USER_AGENT'}) { - /Mozilla.*\(X11/ && do {return "X-Windows";}; /Mozilla.*\(Windows/ && do {return "PC";}; /Mozilla.*\(Macintosh/ && do {return "Macintosh";}; /Mozilla.*\(Win/ && do {return "PC";}; + /Mozilla.*Linux.*86/ && do {return "PC";}; + /Mozilla.*Linux.*alpha/ && do {return "DEC";}; + /Mozilla.*OSF/ && do {return "DEC";}; + /Mozilla.*HP-UX/ && do {return "HP";}; + /Mozilla.*IRIX/ && do {return "SGI";}; + /Mozilla.*(SunOS|Solaris)/ && do {return "Sun";}; # default - return "PC"; + return "Other"; } } -- cgit v1.2.3-24-g4f1b