[SCM] Debian package checker branch, master, updated. 2.5.2-93-g3a93a02
The following commit has been merged in the master branch:
commit 3a93a02b7e593784740a62ac00cf983ffd2ffbb5
Author: Niels Thykier <niels@thykier.net>
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
Reply to: