audit: enforce https on *.bintray.com urls

Closes Homebrew/homebrew#38209.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Viktor Szakáts 2015-03-30 21:50:04 +02:00 committed by Mike McQuaid
parent 1db6a756c9
commit f6946cd9f6

View File

@ -338,6 +338,8 @@ 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/]
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})."
end