diff options
| author | Dominyk Tiller | 2016-08-27 03:07:10 +0100 |
|---|---|---|
| committer | Dominyk Tiller | 2016-09-01 17:29:03 +0100 |
| commit | 4422bd1f341e57038a8852ca9f8c46c31dbdbcad (patch) | |
| tree | 6c94a389b375d60fea4d01338c2ac340f4ae4c50 /Library | |
| parent | 8bb3dda24317350d59c94f805665b8d5dfa3553f (diff) | |
| download | brew-4422bd1f341e57038a8852ca9f8c46c31dbdbcad.tar.bz2 | |
audit: enforce https for Debian's anonscm
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 3c26eeb97..b237ede0d 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -1192,6 +1192,7 @@ class ResourceAuditor %r{^http://tools\.ietf\.org/}, %r{^http://launchpad\.net/}, %r{^http://bitbucket\.org/}, + %r{^http://anonscm\.debian\.org/}, %r{^http://cpan\.metacpan\.org/}, %r{^http://hackage\.haskell\.org/}, %r{^http://(?:[^/]*\.)?archive\.org}, @@ -1202,6 +1203,8 @@ class ResourceAuditor problem "#{p} should be `https://cpan.metacpan.org/#{$1}`" when %r{^(http|ftp)://ftp\.gnome\.org/pub/gnome/(.*)}i problem "#{p} should be `https://download.gnome.org/#{$2}`" + when %r{^git://anonscm\.debian\.org/users/(.*)}i + problem "#{p} should be `https://anonscm.debian.org/git/users/#{$1}`" end end |
