summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-03-08 03:52:27 +0100
committerterry%mozilla.org <>2000-03-08 03:52:27 +0100
commitefc5af54e614e40d0d464d40fcde8c0f2d6832f6 (patch)
tree93198281ade66b7dd1797526d3dc77b2fe845e76 /enter_bug.cgi
parentd38fe0e5cab4a7efaba8a79a22a85b0e67817441 (diff)
downloadbugzilla-efc5af54e614e40d0d464d40fcde8c0f2d6832f6.tar.gz
bugzilla-efc5af54e614e40d0d464d40fcde8c0f2d6832f6.tar.xz
Patch by "David Gardiner" <david.gardiner@unisa.edu.au> -- recognize
more useragent strings.
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 0282f75c6..292f25c60 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -108,6 +108,7 @@ sub pickplatform {
/Mozilla.*\(Windows/ && do {return "PC";};
/Mozilla.*\(Macintosh/ && do {return "Macintosh";};
/Mozilla.*\(Win/ && do {return "PC";};
+ /Mozilla.*Windows NT/ && do {return "PC";};
/Mozilla.*Linux.*86/ && do {return "PC";};
/Mozilla.*Linux.*alpha/ && do {return "DEC";};
/Mozilla.*OSF/ && do {return "DEC";};
@@ -177,6 +178,8 @@ sub pickos {
/Mozilla.*\(Win95.*\)/ && do {return "Windows 95";};
/Mozilla.*\(Win98.*\)/ && do {return "Windows 98";};
/Mozilla.*\(WinNT.*\)/ && do {return "Windows NT";};
+ /Mozilla.*\(Windows.*NT/ && do {return "Windows NT";};
+ /Mozilla.*Windows NT 5.*\)/ && do {return "Windows 2000";};
}
}
# default