aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorViktor Szakáts2015-03-30 21:50:04 +0200
committerMike McQuaid2015-03-31 12:55:24 +0100
commitf6946cd9f644cb9686bf5541e11e463c0e8195af (patch)
treeb22e702f46e28c26f9bd2b03d580d26aed95dfae /Library/Homebrew/cmd
parent1db6a756c9a3fc53ec92a0435e24238292937f02 (diff)
downloadbrew-f6946cd9f644cb9686bf5541e11e463c0e8195af.tar.bz2
audit: enforce https on *.bintray.com urls
Closes Homebrew/homebrew#38209. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 13fda12c0..81ed161c3 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -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