- From: Ville Skytta <ville@hutz.w3.org>
- Date: Mon, 10 May 2004 18:41:30 +0000
- To: www-validator-cvs@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