W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2006

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

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 08 Aug 2006 05:39:36 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1GAKJU-00025i-SW@lionel-hutz.w3.org>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:25 UTC