Revert "audit: tweak cpan secure urls"

This reverts commit 146a16d66bc796f0c6a4c7e2b88f1b73fb0aaa4c.
This commit is contained in:
Dominyk Tiller 2016-05-30 17:13:43 +01:00
parent f12932cf31
commit 9b7604df69
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6

View File

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