From f6946cd9f644cb9686bf5541e11e463c0e8195af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Szak=C3=A1ts?= Date: Mon, 30 Mar 2015 21:50:04 +0200 Subject: [PATCH] audit: enforce https on *.bintray.com urls Closes Homebrew/homebrew#38209. Signed-off-by: Mike McQuaid --- Library/Homebrew/cmd/audit.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 13fda12c00..81ed161c37 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