]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Fixed bug 620040.
authoreldy <>
Thu, 16 Jan 2003 15:33:55 +0000 (15:33 +0000)
committereldy <>
Thu, 16 Jan 2003 15:33:55 +0000 (15:33 +0000)
docs/awstats_changelog.txt
wwwroot/cgi-bin/awstats.pl

index bf24aa7bc970a1ab7e008c88dd3e2eca66f68af9..6b22b386198e97bd51cada04131f6642d1e72fca 100644 (file)
@@ -14,6 +14,7 @@ Fixes:
 - Better parsing of parameters (Solved bug 635962).
 - Users did not appear in Authenticated users list if hits on pages were 0.
 - Value of title "Top x" for domains chart was not always correct.
+- Fixed bug 620040 that prevented to use "#" char in HTMLHeadSection.
 
 New features/improvments:
 - Added urlaliasbuilder.pl tool.
index 4fd736e505d07b6ddd02f6282161850cc761b540..b1fb17b4fba44d952277d07deebc44bf2b1c3c41 100644 (file)
@@ -1051,8 +1051,7 @@ sub Parse_Config {
 
                # Remove comments
                if ($_ =~ /^#/) { next; }
-               $_ =~ s/^([^\"]*)#.*/$1/;
-               $_ =~ s/^([^\"]*\"[^\"]*\"[^\"]*)#.*/$1/;
+               $_ =~ s/\s#.*$/$1/;
                # Extract param and value
                #if ($Debug) { debug("$_",2); }
                my @felter=split(/=/,$_,2);