link-checker commit: Improve/add Forbidden_Protocols docs.

changeset:   362:09e7c808ac61
user:        ville
date:        Thu Apr 22 19:46:51 2010 +0000
files:       bin/checklink.pod etc/checklink.conf
description:
Improve/add Forbidden_Protocols docs.


diff -r 8aee47762a31 -r 09e7c808ac61 bin/checklink.pod
--- a/bin/checklink.pod	Thu Mar 11 17:54:33 2010 +0000
+++ b/bin/checklink.pod	Thu Apr 22 19:46:51 2010 +0000
@@ -1,4 +1,4 @@
-$Id: checklink.pod,v 1.31 2009-12-03 21:35:02 ville Exp $
+$Id: checklink.pod,v 1.32 2010-04-22 19:46:51 ville Exp $
 
 =encoding utf8
 
@@ -219,6 +219,13 @@
 
    Allow_Private_IPs = 0
 
+C<Forbidden_Protocols> is a comma separated list of additional protocols/URI
+schemes that the link checker is not allowed to use.  The C<javascript> and
+C<mailto> schemes are always forbidden, and so is the C<file> scheme when
+running as a CGI script.
+
+   Forbidden_Protocols = javascript,mailto
+
 C<Markup_Validator_URI> and C<CSS_Validator_URI> are formatted URIs to the
 respective validators.  The C<%s> in these will be replaced with the full
 "URI encoded" URI to the document being checked, and shown in the link
diff -r 8aee47762a31 -r 09e7c808ac61 etc/checklink.conf
--- a/etc/checklink.conf	Thu Mar 11 17:54:33 2010 +0000
+++ b/etc/checklink.conf	Thu Apr 22 19:46:51 2010 +0000
@@ -1,6 +1,6 @@
 #
 # Configuration file for the W3C Link Checker
-# $Id: checklink.conf,v 1.8 2010-03-11 17:54:33 ville Exp $
+# $Id: checklink.conf,v 1.9 2010-04-22 19:46:51 ville Exp $
 #
 # See Config::General(3) for the syntax; 'SplitPolicy' is 'equalsign' here.
 #
@@ -53,9 +53,9 @@
 
 
 #
-# Forbidden_Protocols is a comma separated list of protocols/URI schemes
-# that the link checker is not allowed to use.  The javascript and mailto
-# schemes are always forbidden, and so is the file protocol when running
+# Forbidden_Protocols is a comma separated list of additional protocols/URI
+# schemes that the link checker is not allowed to use.  The javascript and
+# mailto schemes are always forbidden, and so is the file scheme when running
 # as a CGI script.
 #
 # Default:

Received on Thursday, 5 August 2010 14:47:45 UTC