audit: enforce SSL/TLS MetaCPAN urls
Closes Homebrew/homebrew#39513. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
3895a0ae23
commit
6199da8fc7
@ -863,6 +863,8 @@ class ResourceAuditor
|
|||||||
problem "Bintray urls should be https://, not http (url is #{p})."
|
problem "Bintray urls should be https://, not http (url is #{p})."
|
||||||
when %r[^http://tools\.ietf\.org/]
|
when %r[^http://tools\.ietf\.org/]
|
||||||
problem "ietf urls should be https://, not http (url is #{p})."
|
problem "ietf urls should be https://, not http (url is #{p})."
|
||||||
|
when %r[^http://search\.mcpan\.org/CPAN/(.*)]i
|
||||||
|
problem "MetaCPAN url should be `https://cpan.metacpan.org/#{$1}` (url is #{p})."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user