mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
audit: require https for all *.googlecode.com resources
Closes Homebrew/homebrew#39206. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
43ce8b0791
commit
2e3a0263d4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user