audit: enforce freedesktop secure urls

This commit is contained in:
Dominyk Tiller 2016-05-20 10:54:29 +01:00
parent e825f59754
commit a0d008af77

View File

@ -1164,7 +1164,8 @@ class ResourceAuditor
%r{^http://launchpad\.net/}, %r{^http://launchpad\.net/},
%r{^http://bitbucket\.org/}, %r{^http://bitbucket\.org/},
%r{^http://hackage\.haskell\.org/}, %r{^http://hackage\.haskell\.org/},
%r{^http://(?:[^/]*\.)?archive\.org} %r{^http://(?:[^/]*\.)?archive\.org},
%r{^http://(?:[^/]*\.)?freedesktop\.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}`"