audit: enforce https for Debian's anonscm
This commit is contained in:
parent
8bb3dda243
commit
4422bd1f34
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user