audit: tweak cpan secure urls

This commit is contained in:
Tomasz Pajor 2016-05-29 11:03:50 +02:00
parent adc293637f
commit 7bbcf9cacc

View File

@ -1167,7 +1167,7 @@ class ResourceAuditor
%r{^http://(?:[^/]*\.)?archive\.org},
%r{^http://(?:[^/]*\.)?freedesktop\.org}
problem "Please use https:// for #{p}"
when %r{^http://search\.mcpan\.org/CPAN/(.*)}i
when %r{^http://search\.(mcpan|cpan)\.org/CPAN/(.*)}i
problem "#{p} should be `https://cpan.metacpan.org/#{$1}`"
when %r{^(http|ftp)://ftp\.gnome\.org/pub/gnome/(.*)}i
problem "#{p} should be `https://download.gnome.org/#{$2}`"