audit: enforce https for bare bintray.com domain

Closes Homebrew/homebrew#38302.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Viktor Szakáts 2015-04-02 16:53:53 +02:00 committed by Mike McQuaid
parent a4ff45e5ee
commit 1b5fc1fb02

View File

@ -338,7 +338,7 @@ class FormulaAuditor
problem "Fossies urls should be https://, not http (url is #{p})."
when %r[^http://mirrors\.kernel\.org/]
problem "mirrors.kernel urls should be https://, not http (url is #{p})."
when %r[^http://[^/]*\.bintray\.com/]
when %r[^http://([^/]*\.|)bintray\.com/]
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})."