From: eldy <> Date: Sat, 9 Mar 2002 18:08:16 +0000 (+0000) Subject: Increased detected extensions from 5 to 6 chars. X-Git-Tag: AWSTATS_4_0_BETA~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=719bd25b48b4bbbfa67e20f268337240c6e32740;p=thirdparty%2FAWStats.git Increased detected extensions from 5 to 6 chars. --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index ba932872..fb58739d 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -21,7 +21,7 @@ use vars qw(%DomainsHashIDLib @RobotsSearchIDOrder_list1 @RobotsSearchIDOrder_li #------------------------------------------------------- # Defines #------------------------------------------------------- -my $VERSION="4.0 (build 44)"; +my $VERSION="4.0 (build 45)"; # ---------- Init variables ------- my $Debug=0; @@ -2834,7 +2834,7 @@ if ($UpdateStats) { my $extension; # Extension - if ($urlwithnoquery =~ /\.(\w{1,5})$/) { + if ($urlwithnoquery =~ /\.(\w{1,6})$/) { $extension=$1; $extension =~ tr/A-Z/a-z/; # Check if not a page foreach my $cursor (@NotPageList) { if ($extension eq $cursor) { $PageBool=0; last; } }