From 48e2608321bfe6905fc864352dc7dee6a68a0a2f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 7 Feb 2014 20:12:12 +0100 Subject: [PATCH] Fix: #589 GetResolvedIP_ipv6 does not strip trailing dot --- docs/awstats_changelog.txt | 8 ++++++++ wwwroot/cgi-bin/plugins/ipv6.pm | 1 + 2 files changed, 9 insertions(+) diff --git a/docs/awstats_changelog.txt b/docs/awstats_changelog.txt index 78336f30..232b8eca 100644 --- a/docs/awstats_changelog.txt +++ b/docs/awstats_changelog.txt @@ -1,6 +1,14 @@ AWStats Changelog ----------------- +***** 7.4 ***** + +Fixes: +#205 GetResolvedIP_ipv6 does not strip trailing dot +#496 tools scripts should print warnings and errors to STDERR +#919 Referrals not getting tracked due to improperly getting flagged as a search +Fixes permission on some .pl scripts. + ***** 7.3 ***** diff --git a/wwwroot/cgi-bin/plugins/ipv6.pm b/wwwroot/cgi-bin/plugins/ipv6.pm index 743fcc17..14857ee5 100644 --- a/wwwroot/cgi-bin/plugins/ipv6.pm +++ b/wwwroot/cgi-bin/plugins/ipv6.pm @@ -63,6 +63,7 @@ sub GetResolvedIP_ipv6 { my $query = $resolver->query($reverseip, "PTR"); if (! defined($query)) { return; } my @result=split(/\s/, ($query->answer)[0]->string); + chop($result[4]); # Remove the trailing dot of the answer. return $result[4]; # -----> } -- 2.47.2