Lines 1-6
Link Here
|
1 |
--- wwwroot/cgi-bin/awstats.pl.orig 2009-10-10 08:36:38.000000000 -0400 |
1 |
--- wwwroot/cgi-bin/awstats.pl.orig 2011-07-06 08:11:37.000000000 +0100 |
2 |
+++ wwwroot/cgi-bin/awstats.pl 2009-10-28 21:33:22.000000000 -0400 |
2 |
+++ wwwroot/cgi-bin/awstats.pl 2011-07-06 08:16:32.000000000 +0100 |
3 |
@@ -3040,7 +3040,7 @@ |
3 |
@@ -1353,9 +1353,7 @@ |
|
|
4 |
#------------------------------------------------------------------------------ |
5 |
sub OptimizeArray { |
6 |
my $array = shift; |
7 |
- my @arrayunreg = map { |
8 |
- if (/\(\?[-\w]*:(.*)\)/) { $1 } |
9 |
- } @$array; |
10 |
+ my @arrayunreg = map { UnCompileRegex($_) } @$array; |
11 |
my $notcasesensitive = shift; |
12 |
my $searchlist = 0; |
13 |
if ($Debug) { |
14 |
@@ -3049,7 +3047,7 @@ |
4 |
# Debian package : "/usr/share/awstats/plugins" |
15 |
# Debian package : "/usr/share/awstats/plugins" |
5 |
my @PossiblePluginsDir = ( |
16 |
my @PossiblePluginsDir = ( |
6 |
"$DIR/plugins", |
17 |
"$DIR/plugins", |
Lines 9-11
Link Here
|
9 |
"/usr/share/awstats/plugins" |
20 |
"/usr/share/awstats/plugins" |
10 |
); |
21 |
); |
11 |
my %DirAddedInINC = (); |
22 |
my %DirAddedInINC = (); |
|
|
23 |
@@ -7809,7 +7807,7 @@ |
24 |
# Return: standardregex |
25 |
#------------------------------------------------------------------------------ |
26 |
sub UnCompileRegex { |
27 |
- shift =~ /\(\?[-\w]*:(.*)\)/; |
28 |
+ shift =~ /\(\?[-^\w]*:(.*)\)/; |
29 |
return $1; |
30 |
} |
31 |
|