The following commit has been merged in the master branch:
commit 3a93a02b7e593784740a62ac00cf983ffd2ffbb5
Author: Niels Thykier <[email protected]>
Date:   Sat Sep 3 22:21:16 2011 +0200

    Allow ftp and gopher as valid protocols for Homepages

diff --git a/checks/fields b/checks/fields
index 7ea6b2f..de76d71 100644
--- a/checks/fields
+++ b/checks/fields
@@ -487,7 +487,7 @@ if (defined $info->field('homepage')) {
        my $uri = URI->new($homepage);
 
        # not an absolute URI or (most likely) an invalid protocol
-       unless ($uri->scheme && $uri->scheme =~ m/^https?$/) {
+       unless ($uri->scheme && $uri->scheme =~ m/^ftp|https?|gopher$/o) {
                tag 'bad-homepage', $homepage;
        }
 

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to