From efc5af54e614e40d0d464d40fcde8c0f2d6832f6 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Wed, 8 Mar 2000 02:52:27 +0000 Subject: Patch by "David Gardiner" -- recognize more useragent strings. --- enter_bug.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'enter_bug.cgi') 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 -- cgit v1.2.3-24-g4f1b