aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorViktor Szakats2015-04-30 03:28:46 +0200
committerJack Nagel2015-05-04 20:51:45 -0400
commit2e3a0263d4c91525dbb907122c87e90af75c20a2 (patch)
tree4b77cbf6990bfa853a00ebd0d7d76e9643037235 /Library
parent43ce8b07910d71caa2db45aeb78c786abc478f6b (diff)
downloadbrew-2e3a0263d4c91525dbb907122c87e90af75c20a2.tar.bz2
audit: require https for all *.googlecode.com resources
Closes Homebrew/homebrew#39206. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-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 adde76ff9..45502d865 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