audit: tweak cpan secure urls

This commit is contained in:
Tomasz Pajor 2016-05-29 11:07:19 +02:00
parent 7bbcf9cacc
commit 146a16d66b

View File

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