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

perl/modules/W3C/LinkChecker/bin checklink,3.42,3.43

From: Ville Skytta <ville@hutz.w3.org>
Date: Mon, 10 May 2004 18:41:30 +0000
To: www-validator-cvs@w3.org
Message-Id: <20040510184130.C567D4D8C@hutz.w3.org>

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

Modified Files:
	checklink 
Log Message:
Treat non-empty URI's "ok" again with JavaScript implementations without
String.search().


Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 3.42
retrieving revision 3.43
diff -u -d -r3.42 -r3.43
--- checklink	10 May 2004 18:28:26 -0000	3.42
+++ checklink	10 May 2004 18:41:28 -0000	3.43
@@ -1966,6 +1966,8 @@
   if (u.value.length > 0) {
     if (u.value.search) {
       ok = (u.value.search(/\\S/) != -1);
+    } else {
+      ok = true;
     }
   }
   if (! ok) u.focus();
Received on Monday, 10 May 2004 14:42:31 UTC

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