[lintian] 01/01: Fix ftp protocol regexp
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository lintian.
commit 4584cf218e1c055a3be49d34211e4f699e5dc8e4
Author: Axel Beckert <abe@deuxchevaux.org>
Date: Mon Nov 20 01:02:55 2017 +0100
Fix ftp protocol regexp
Gbp-Dch: Ignore
---
checks/fields.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/fields.pm b/checks/fields.pm
index 15deb89..c161a1d 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -629,7 +629,7 @@ sub run {
if ($homepage=~ m,bioconductor\.org/packages/.*/bioc/html/.*\.html*$,){
tag 'homepage-for-bioconductor-package-not-canonical', $orig;
}
- if ( $homepage =~ m,^ftp//,
+ if ( $homepage =~ m,^ftp://,
or $homepage =~
m,^http://(?:[^\.]+\.)?(?:github\.com|metacpan\.org|debian\.org)/,
){
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: