W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2004

perl/modules/W3C/LinkChecker/bin checklink,4.6,4.7

From: Ville Skytta <ville@dev.w3.org>
Date: Sun, 10 Oct 2004 21:00:27 +0000
To: www-validator-cvs@w3.org
Message-ID: <E1CGknr-0002tf-Og@lionel-hutz.w3.org>

Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv11014/bin

Modified Files:
	checklink 
Log Message:
Avoid feeding the whole response (including HTTP headers) to HTML::Parser.
Fixes http://www.w3.org/Bugs/Public/show_bug.cgi?id=889


Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 4.6
retrieving revision 4.7
diff -u -d -r4.6 -r4.7
--- checklink	27 Aug 2004 04:58:56 -0000	4.6
+++ checklink	10 Oct 2004 21:00:22 -0000	4.7
@@ -1360,7 +1360,7 @@
     }
     # Do it then
     $p = &parse_document($uri, $response->base(),
-                         $response->as_string(), 0, $want_links);
+                         $response->content(), 0, $want_links);
   } else {
     # We already had the information
     $p->{Anchors} = $results{$uri}{parsing}{Anchors};
Received on Sunday, 10 October 2004 21:00:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:07 UTC