audit: enforce https for *.sourceforge.io urls

This commit is contained in:
Viktor Szakats 2017-02-13 15:49:33 +01:00
parent e116ba196e
commit a09169f248

View File

@ -584,7 +584,9 @@ class FormulaAuditor
# People will run into mixed content sometimes, but we should enforce and then add
# exemptions as they are discovered. Treat mixed content on homepages as a bug.
# Justify each exemptions with a code comment so we can keep track here.
if homepage =~ %r{^http://[^/]*github\.io/}
case homepage
when %r{^http://[^/]*github\.io/},
%r{^http://[^/]*\.sourceforge\.io/}
problem "Please use https:// for #{homepage}"
end