[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: c/fields.pm: Fix insecure uri regex for pserver



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit f9babb92d4f7bdb36959d37f56b6e5e7647248d1
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Apr 10 06:21:28 2016 +0000

    c/fields.pm: Fix insecure uri regex for pserver
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/fields.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/fields.pm b/checks/fields.pm
index bac19a3..edbc06f 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -1282,7 +1282,7 @@ sub run {
                     tag 'vcs-field-has-unexpected-spaces', "vcs-$vcs", $uri;
                 }
                 if (   $parts[0] =~ m%^(?:git|(?:nosmart\+)?http|svn)://%
-                    or $parts[0] =~ m%^(?:pserver|lp):%) {
+                    or $parts[0] =~ m%^(?:lp|:pserver):%) {
                     tag 'vcs-field-uses-insecure-uri', "vcs-$vcs", $uri;
                 }
             }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: