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

Bug#883121: lintian: Add R CRAN & Bioconductor repositories homepage to the list of known insecure URIs



Package: lintian
Version: 2.5.60
Severity: wishlist
Tags: patch

Hi,
Please find attached a patch which add R CRAN & Bioconductor
repositories homepages to the list of known insecure URIs for the tag
homepage-field-uses-insecure-uri.

Best,
Dylan
From 11d3cdffa24bca1f5d2e5701919146a3b9621f8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dylan=20A=C3=AFssi?= <bob.dybian@gmail.com>
Date: Wed, 29 Nov 2017 23:00:00 +0100
Subject: [PATCH] Add R CRAN & Bioconductor repositories to the list of known
 insecure URIs

---
 checks/fields.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/fields.pm b/checks/fields.pm
index d9a238b5f..6f5cbfce8 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -631,7 +631,7 @@ sub run {
         }
         if (   $homepage =~ m,^ftp://,
             or $homepage
-            =~m,^http://(?:[^\.]+\.)?(?:github\.com|metacpan\.org|debian\.org)/,
+            =~m,^http://(?:[^\.]+\.)?(?:github\.com|metacpan\.org|debian\.org|cran\.r-project\.org|bioconductor\.org)/,
           ){
             tag 'homepage-field-uses-insecure-uri', $orig;
         }
-- 
2.11.0


Reply to: