aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorViktor Szakáts2015-04-02 16:53:53 +0200
committerMike McQuaid2015-04-02 16:39:00 +0100
commit1b5fc1fb02691f0868f855443f1393568fe2b465 (patch)
tree820e820d21bdf308b1110b89487c559cb4f1934e /Library/Homebrew/cmd
parenta4ff45e5eec96512b72a5c20b2d4cd2e01986bf1 (diff)
downloadbrew-1b5fc1fb02691f0868f855443f1393568fe2b465.tar.bz2
audit: enforce https for bare bintray.com domain
Closes Homebrew/homebrew#38302. 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, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 81ed161c3..b486af951 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})."