[Pkg-awstats-commits] r49 - in awstats/trunk/debian: . patches

Charles Fry cfry-guest at costa.debian.org
Fri May 5 20:45:09 UTC 2006


Author: cfry-guest
Date: 2006-05-05 20:45:07 +0000 (Fri, 05 May 2006)
New Revision: 49

Modified:
   awstats/trunk/debian/changelog
   awstats/trunk/debian/patches/1001_sanitize_more.patch
Log:
patch migrate parameter


Modified: awstats/trunk/debian/changelog
===================================================================
--- awstats/trunk/debian/changelog	2006-05-05 20:36:51 UTC (rev 48)
+++ awstats/trunk/debian/changelog	2006-05-05 20:45:07 UTC (rev 49)
@@ -2,8 +2,10 @@
 
   * Patch to sanitize diricons parameter, thanks to Hendrik Weimer
     <hendrik at enyo.de> (Closes: #364443)
+  * Patch to sanitize migrate parameter, thanks to Hendrik Weimer
+    <hendrik at enyo.de> (Closes: #365909)
 
- -- Charles Fry <debian at frogcircus.org>  Fri,  5 May 2006 16:34:49 -0400
+ -- Charles Fry <debian at frogcircus.org>  Fri,  5 May 2006 16:43:53 -0400
 
 awstats (6.5-1) unstable; urgency=low
 

Modified: awstats/trunk/debian/patches/1001_sanitize_more.patch
===================================================================
--- awstats/trunk/debian/patches/1001_sanitize_more.patch	2006-05-05 20:36:51 UTC (rev 48)
+++ awstats/trunk/debian/patches/1001_sanitize_more.patch	2006-05-05 20:45:07 UTC (rev 49)
@@ -1,7 +1,7 @@
 Index: awstats-6.5/wwwroot/cgi-bin/awstats.pl
 ===================================================================
 --- awstats-6.5.orig/wwwroot/cgi-bin/awstats.pl	2005-11-24 15:11:19.000000000 -0500
-+++ awstats-6.5/wwwroot/cgi-bin/awstats.pl	2006-05-05 16:32:12.000000000 -0400
++++ awstats-6.5/wwwroot/cgi-bin/awstats.pl	2006-05-05 16:43:12.000000000 -0400
 @@ -5542,8 +5542,8 @@
  	# No update but report by default when run from a browser
  	$UpdateStats=($QueryString=~/update=1/i?1:0);
@@ -13,6 +13,15 @@
  	if ($QueryString =~ /pluginmode=([^&]+)/i)			{ $PluginMode=&Sanitize(&DecodeEncodedString("$1"),1); }
  	if ($QueryString =~ /configdir=([^&]+)/i)			{ $DirConfig=&Sanitize(&DecodeEncodedString("$1")); }
  	# All filters
+@@ -5561,7 +5561,7 @@
+ 
+ 	# If migrate
+ 	if ($QueryString =~ /(^|-|&|&amp;)migrate=([^&]+)/i)	{
+-		$MigrateStats=&DecodeEncodedString("$2"); 
++		$MigrateStats=&Sanitize(&DecodeEncodedString("$2"));
+ 		$MigrateStats =~ /^(.*)$PROG(\d{0,2})(\d\d)(\d\d\d\d)(.*)\.txt$/;
+ 		$SiteConfig=$5?$5:'xxx'; $SiteConfig =~ s/^\.//;		# SiteConfig is used to find config file
+ 	}
 @@ -5591,8 +5591,8 @@
  	# Update with no report by default when run from command line
  	$UpdateStats=1;




More information about the Pkg-awstats-commits mailing list