Skip to content
Snippets Groups Projects
Commit 6199da8f authored by Viktor Szakats's avatar Viktor Szakats Committed by Jack Nagel
Browse files

audit: enforce SSL/TLS MetaCPAN urls


Closes Homebrew/homebrew#39513.

Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent 3895a0ae
No related branches found
No related tags found
No related merge requests found
......@@ -863,6 +863,8 @@ class ResourceAuditor
problem "Bintray urls should be https://, not http (url is #{p})."
when %r[^http://tools\.ietf\.org/]
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment