summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
authorterry%netscape.com <>1998-12-04 01:10:51 +0100
committerterry%netscape.com <>1998-12-04 01:10:51 +0100
commit3a14063761783372a378677b9901ec683d691294 (patch)
treed2265af7643087e1aaa5281b0749990e9e9eab43 /enter_bug.cgi
parent063b0985a9417a2e1252552cde3124b3b3a7e289 (diff)
downloadbugzilla-3a14063761783372a378677b9901ec683d691294.tar.gz
bugzilla-3a14063761783372a378677b9901ec683d691294.tar.xz
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-xenter_bug.cgi9
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";
}
}