- From: Mercurial notifier <nobody@w3.org>
- Date: Thu, 05 Aug 2010 14:47:13 +0000
- To: link-checker updates <www-validator-cvs@w3.org>
changeset: 230:636e73722f19
user: ville
date: Mon Apr 21 07:31:51 2008 +0000
files: bin/checklink
description:
Note XHTML $response->base() improvements in libwww-perl >= 5.810 in comments.
diff -r be779c7251c7 -r 636e73722f19 bin/checklink
--- a/bin/checklink Mon Apr 21 07:26:33 2008 +0000
+++ b/bin/checklink Mon Apr 21 07:31:51 2008 +0000
@@ -5,7 +5,7 @@
# (c) 1999-2008 World Wide Web Consortium
# based on Renaud Bruyeron's checklink.pl
#
-# $Id: checklink,v 4.100 2008-04-21 07:26:33 ville Exp $
+# $Id: checklink,v 4.101 2008-04-21 07:31:51 ville Exp $
#
# This program is licensed under the W3C(r) Software License:
# http://www.w3.org/Consortium/Legal/copyright-software
@@ -242,7 +242,7 @@
$PROGRAM = 'W3C-checklink';
$VERSION = '4.3';
$REVISION = sprintf('version %s (c) 1999-2008 W3C', $VERSION);
- my ($cvsver) = q$Revision: 4.100 $ =~ /(\d+[\d\.]*\.\d+)/;
+ my ($cvsver) = q$Revision: 4.101 $ =~ /(\d+[\d\.]*\.\d+)/;
$AGENT = sprintf('%s/%s [%s] %s',
$PROGRAM, $VERSION, $cvsver, LWP::RobotUA->_agent());
@@ -1509,6 +1509,7 @@
# HTML::HeadParser (thus taking care of it in $response->base()
# transparently) for application/xhtml+xml and
# application/vnd.wap.xhtml+xml documents
+ # --> it does in LWP >= 5.810
if ($tag eq 'base') {
# Treat <base> (without href) or <base href=""> as if it didn't exist.
if (defined($attr->{href}) && $attr->{href} ne '') {
Received on Thursday, 5 August 2010 14:47:27 UTC