From: terry%mozilla.org <> Date: Wed, 8 Mar 2000 02:52:27 +0000 (+0000) Subject: Patch by "David Gardiner" -- recognize X-Git-Tag: bugzilla-2.12~360 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efc5af54e614e40d0d464d40fcde8c0f2d6832f6;p=thirdparty%2Fbugzilla.git Patch by "David Gardiner" -- recognize more useragent strings. --- diff --git a/enter_bug.cgi b/enter_bug.cgi index 0282f75c60..292f25c60d 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