From 2e3a0263d4c91525dbb907122c87e90af75c20a2 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 30 Apr 2015 03:28:46 +0200 Subject: [PATCH] audit: require https for all *.googlecode.com resources Closes Homebrew/homebrew#39206. Signed-off-by: Jack Nagel --- 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 adde76ff97..45502d865b 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -381,6 +381,8 @@ class FormulaAuditor end # Check for Google Code download urls, https:// is preferred + # Intentionally not extending this to SVN repositories due to certificate + # issues. urls.grep(%r[^http://.*\.googlecode\.com/files.*]) do |u| problem "Use https:// URLs for downloads from Google Code (url is #{u})." end