diff options
author | terry%netscape.com <> | 1998-12-04 00:10:51 +0000 |
---|---|---|
committer | terry%netscape.com <> | 1998-12-04 00:10:51 +0000 |
commit | 3a14063761783372a378677b9901ec683d691294 (patch) | |
tree | d2265af7643087e1aaa5281b0749990e9e9eab43 /enter_bug.cgi | |
parent | 063b0985a9417a2e1252552cde3124b3b3a7e289 (diff) | |
download | bugs-3a14063761783372a378677b9901ec683d691294.tar bugs-3a14063761783372a378677b9901ec683d691294.tar.gz bugs-3a14063761783372a378677b9901ec683d691294.tar.bz2 bugs-3a14063761783372a378677b9901ec683d691294.tar.xz bugs-3a14063761783372a378677b9901ec683d691294.zip |
Reworked the rep_platform and op_sys fields. BEWARE; this includes
some changes to the database schema!
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-x | enter_bug.cgi | 9 |
1 files changed, 7 insertions, 2 deletions
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"; } } |