audit: update mirrorservice check

mirrorservice accepts `http://ftp.mirrorservice.org` as well, apparently.
This commit is contained in:
Dominyk Tiller 2016-05-30 20:15:51 +01:00
parent eaae49608f
commit 92e35705f8
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6

View File

@ -1160,13 +1160,13 @@ class ResourceAuditor
%r{^http://mirrors\.kernel\.org/}, %r{^http://mirrors\.kernel\.org/},
%r{^http://(?:[^/]*\.)?bintray\.com/}, %r{^http://(?:[^/]*\.)?bintray\.com/},
%r{^http://tools\.ietf\.org/}, %r{^http://tools\.ietf\.org/},
%r{^http://www\.mirrorservice\.org/},
%r{^http://launchpad\.net/}, %r{^http://launchpad\.net/},
%r{^http://bitbucket\.org/}, %r{^http://bitbucket\.org/},
%r{^http://cpan\.metacpan\.org/}, %r{^http://cpan\.metacpan\.org/},
%r{^http://hackage\.haskell\.org/}, %r{^http://hackage\.haskell\.org/},
%r{^http://(?:[^/]*\.)?archive\.org}, %r{^http://(?:[^/]*\.)?archive\.org},
%r{^http://(?:[^/]*\.)?freedesktop\.org} %r{^http://(?:[^/]*\.)?freedesktop\.org},
%r{^http://(?:[^/]*\.)?mirrorservice\.org/}
problem "Please use https:// for #{p}" problem "Please use https:// for #{p}"
when %r{^http://search\.mcpan\.org/CPAN/(.*)}i when %r{^http://search\.mcpan\.org/CPAN/(.*)}i
problem "#{p} should be `https://cpan.metacpan.org/#{$1}`" problem "#{p} should be `https://cpan.metacpan.org/#{$1}`"