perl/modules/W3C/LogValidator/lib/W3C/LogValidator LinkReferer.pm,1.1,1.2

Update of /sources/public/perl/modules/W3C/LogValidator/lib/W3C/LogValidator
In directory hutz:/tmp/cvs-serv8026

Modified Files:
	LinkReferer.pm 
Log Message:
for now, only consider 404s and 5xx in broken resources referer report

Index: LinkReferer.pm
===================================================================
RCS file: /sources/public/perl/modules/W3C/LogValidator/lib/W3C/LogValidator/LinkReferer.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- LinkReferer.pm	22 Jun 2006 04:55:20 -0000	1.1
+++ LinkReferer.pm	8 Aug 2006 05:39:34 -0000	1.2
@@ -160,7 +160,7 @@
 		chomp ($uri);
 		my @result_tmp;
 		if (defined $HTTPcodes{$uri}) 
-		{ if ( $HTTPcodes{$uri} =~ /(301|403|404|5..)/)
+		{ if ( $HTTPcodes{$uri} =~ /(404|5..)/)
 		 { # This module should ignore requests that resulted in success codes
 		    $census++;
 		    push @result_tmp, "$census";

Received on Tuesday, 8 August 2006 05:39:45 UTC