aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2016-05-20 10:54:29 +0100
committerDominyk Tiller2016-05-20 10:54:29 +0100
commita0d008af77785071ffba27dd995e5c794042f649 (patch)
treea92e60d15aff5d42a797baaac6da7421595a28d1 /Library
parente825f597544f4610995eaec50e10426d012e71bb (diff)
downloadbrew-a0d008af77785071ffba27dd995e5c794042f649.tar.bz2
audit: enforce freedesktop secure urls
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 4357cc098..2e459d454 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -1164,7 +1164,8 @@ class ResourceAuditor
%r{^http://launchpad\.net/},
%r{^http://bitbucket\.org/},
%r{^http://hackage\.haskell\.org/},
- %r{^http://(?:[^/]*\.)?archive\.org}
+ %r{^http://(?:[^/]*\.)?archive\.org},
+ %r{^http://(?:[^/]*\.)?freedesktop\.org}
problem "Please use https:// for #{p}"
when %r{^http://search\.mcpan\.org/CPAN/(.*)}i
problem "#{p} should be `https://cpan.metacpan.org/#{$1}`"