From 1b5fc1fb02691f0868f855443f1393568fe2b465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Szak=C3=A1ts?= Date: Thu, 2 Apr 2015 16:53:53 +0200 Subject: [PATCH] audit: enforce https for bare bintray.com domain Closes Homebrew/homebrew#38302. Signed-off-by: Mike McQuaid --- Library/Homebrew/cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 81ed161c37..b486af9518 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -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})."