From: eldy <> Date: Thu, 25 Sep 2008 17:10:47 +0000 (+0000) Subject: Fixes: Pb in XML output with geoip plugin enabled X-Git-Tag: AWSTATS_6_9_BETA~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b67617df4a774f8ad69f8a6432c8dabf7a60e91;p=thirdparty%2FAWStats.git Fixes: Pb in XML output with geoip plugin enabled --- diff --git a/docs/awstats_changelog.txt b/docs/awstats_changelog.txt index 7ff31f1d..7c4d2a56 100644 --- a/docs/awstats_changelog.txt +++ b/docs/awstats_changelog.txt @@ -18,6 +18,7 @@ Fixes: - Fixed broken maxmind citi, org and isp plugins. - Fix: Security fix 2001151. - Remove   in name html tag to have HtmlHeadSection first +- Fix: [ 2038681 ] missing
in plugins/geoip_org_maxmind.pm Other/Documentation: - None diff --git a/tools/awstats_buildstaticpages.pl b/tools/awstats_buildstaticpages.pl index f1cb1b7c..d0053604 100644 --- a/tools/awstats_buildstaticpages.pl +++ b/tools/awstats_buildstaticpages.pl @@ -115,7 +115,7 @@ sub debug { my $level = $_[1] || 1; if ($Debug >= $level) { my $debugstring = $_[0]; - if ($ENV{"GATEWAY_INTERFACE"}) { $debugstring =~ s/^ /   /; $debugstring .= "
"; } + if ($ENV{"GATEWAY_INTERFACE"}) { $debugstring =~ s/^ /   /; $debugstring .= "
"; } print localtime(time)." - DEBUG $level - $debugstring\n"; } } diff --git a/wwwroot/cgi-bin/plugins/example/example.pm b/wwwroot/cgi-bin/plugins/example/example.pm index 6f7f60ec..ae4cfc03 100644 --- a/wwwroot/cgi-bin/plugins/example/example.pm +++ b/wwwroot/cgi-bin/plugins/example/example.pm @@ -143,7 +143,7 @@ sub AddHTMLContentHeader_example { #----------------------------------------------------------------------------- sub BuildFullHTMLOutput_example { # <----- - print "This is an output for plugin example
\n"; + print "This is an output for plugin example
\n"; return 1; # -----> } diff --git a/wwwroot/cgi-bin/plugins/geoip_isp_maxmind.pm b/wwwroot/cgi-bin/plugins/geoip_isp_maxmind.pm index bfa911d4..e69232ef 100644 --- a/wwwroot/cgi-bin/plugins/geoip_isp_maxmind.pm +++ b/wwwroot/cgi-bin/plugins/geoip_isp_maxmind.pm @@ -223,7 +223,7 @@ sub ShowInfoHost_geoip_isp_maxmind { if ($NewLinkParams) { $NewLinkParams="${NewLinkParams}&"; } print ""; - print "GeoIP
ISP
"; + print "GeoIP
ISP
"; print ""; } elsif ($param) { diff --git a/wwwroot/cgi-bin/plugins/geoip_org_maxmind.pm b/wwwroot/cgi-bin/plugins/geoip_org_maxmind.pm index 6cb9fc9a..4b96ff62 100644 --- a/wwwroot/cgi-bin/plugins/geoip_org_maxmind.pm +++ b/wwwroot/cgi-bin/plugins/geoip_org_maxmind.pm @@ -223,7 +223,7 @@ sub ShowInfoHost_geoip_org_maxmind { if ($NewLinkParams) { $NewLinkParams="${NewLinkParams}&"; } print ""; - print "GeoIP
Org
"; + print "GeoIP
Org
"; print ""; } elsif ($param) { diff --git a/wwwroot/cgi-bin/plugins/geoip_region_maxmind.pm b/wwwroot/cgi-bin/plugins/geoip_region_maxmind.pm index 3432675d..aa5db96a 100755 --- a/wwwroot/cgi-bin/plugins/geoip_region_maxmind.pm +++ b/wwwroot/cgi-bin/plugins/geoip_region_maxmind.pm @@ -366,7 +366,7 @@ sub ShowInfoHost_geoip_region_maxmind { if ($NewLinkParams) { $NewLinkParams="${NewLinkParams}&"; } print ""; - print "GeoIP
Region
"; + print "GeoIP
Region
"; print ""; } elsif ($param) {