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

link-checker commit: Make protocol disallowed info message more accurate.

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 05 Aug 2010 14:47:19 +0000
To: link-checker updates <www-validator-cvs@w3.org>
Message-Id: <E1Oh1j5-0006D4-UH@blinky.w3.org>
changeset:   290:7b1b0958ce85
user:        ville
date:        Tue Feb 10 20:56:26 2009 +0000
files:       bin/checklink
description:
Make protocol disallowed info message more accurate.


diff -r f2713d15689d -r 7b1b0958ce85 bin/checklink
--- a/bin/checklink	Tue Feb 10 20:18:54 2009 +0000
+++ b/bin/checklink	Tue Feb 10 20:56:26 2009 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2009 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 4.146 2009-02-10 20:11:11 ville Exp $
+# $Id: checklink,v 4.147 2009-02-10 20:56:26 ville Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -269,7 +269,7 @@
   $PROGRAM     = 'W3C-checklink';
   $VERSION     = '4.4';
   $REVISION    = sprintf('version %s (c) 1999-2009 W3C', $VERSION);
-  my ($cvsver) = q$Revision: 4.146 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver) = q$Revision: 4.147 $ =~ /(\d+[\d\.]*\.\d+)/;
   $AGENT       = sprintf('%s/%s [%s] %s',
                          $PROGRAM, $VERSION, $cvsver,
                          (W3C::UserAgent::USE_ROBOT_UA
@@ -2176,7 +2176,7 @@
                RC_DNS_ERROR() => 'The hostname could not be resolved. Check the link for typos.',
                RC_IP_DISALLOWED() => sprintf('The link resolved to a %snon-public IP address%s, and this link checker instance has been configured to not access such addresses. This may be a real error or just a quirk of the name resolver configuration on the server where the link checker runs. Check the link manually, in particular its hostname/IP address.',
                                              $Opts{HTML} ? ('<a href="http://www.ietf.org/rfc/rfc1918.txt">', '</a>') : ('') x 2),
-               RC_PROTOCOL_DISALLOWED() => 'The link checker does not support checking links with this URI scheme.',
+               RC_PROTOCOL_DISALLOWED() => 'Accessing links with this URI scheme has been disabled in link checker.',
              );
   my %priority = ( 410 => 1,
                    404 => 2,
Received on Thursday, 5 August 2010 14:47:39 UTC

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