]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Increased detected extensions from 5 to 6 chars.
authoreldy <>
Sat, 9 Mar 2002 18:08:16 +0000 (18:08 +0000)
committereldy <>
Sat, 9 Mar 2002 18:08:16 +0000 (18:08 +0000)
wwwroot/cgi-bin/awstats.pl

index ba932872fb0f9b02abe6bd6ca07a7102f4bae2ab..fb58739d8b4c4a85bdd49314d319feeddbceda9a 100644 (file)
@@ -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; } }