[Pkg-awstats-devel] Bug#495432: Patch is not affective

Florian Weimer fw at deneb.enyo.de
Wed Dec 3 11:16:42 UTC 2008


found 495432 6.7.dfsg-5
thanks

Please use the following patch instead.  (The "onload=" part does not
harm, but it's easy to circumvent and therefore unnecessary.)

I tried to notify upstream, but the Sourceforge account bounces.  If
you have got a better contact, please forward this piece of
information.

diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl
index 8194462..f96ac63 100755
--- a/wwwroot/cgi-bin/awstats.pl
+++ b/wwwroot/cgi-bin/awstats.pl
@@ -4395,6 +4395,7 @@ sub DecodeEncodedString {
 	my $stringtodecode=shift;
 	$stringtodecode =~ tr/\+/ /s;
 	$stringtodecode =~ s/%([A-F0-9][A-F0-9])/pack("C", hex($1))/ieg;
+	$stringtodecode =~ s/["']//g;
 	return $stringtodecode;
 }
 





More information about the Pkg-awstats-devel mailing list