audit: catch insecure bitbucket

This commit is contained in:
Dominyk Tiller 2015-08-10 19:11:58 +01:00
parent 12e154a418
commit 64bcb5a07f

View File

@ -438,7 +438,8 @@ class FormulaAuditor
%r{^http://[^/.]+\.ietf\.org}, %r{^http://[^/.]+\.ietf\.org},
%r{^http://[^/.]+\.tools\.ietf\.org}, %r{^http://[^/.]+\.tools\.ietf\.org},
%r{^http://www\.gnu\.org/}, %r{^http://www\.gnu\.org/},
%r{^http://code\.google\.com/} %r{^http://code\.google\.com/},
%r{^http://bitbucket\.org/}
problem "Please use https:// for #{homepage}" problem "Please use https:// for #{homepage}"
end end
@ -1059,7 +1060,8 @@ class ResourceAuditor
%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://www\.mirrorservice\.org/},
%r{^http://launchpad\.net/} %r{^http://launchpad\.net/},
%r{^http://bitbucket\.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}`"