diff options
| author | Mike McQuaid | 2017-02-15 14:38:08 +0000 |
|---|---|---|
| committer | GitHub | 2017-02-15 14:38:08 +0000 |
| commit | 21eaa1c60a0868b78db27f80d93e84cd85a51c75 (patch) | |
| tree | ba7ba22f68065f09e0277cd73aa614d749b3064f /Library/Homebrew/dev-cmd | |
| parent | 542563bda071cf7c2dadcbd97b6f843c3a22ee03 (diff) | |
| parent | bf314fb08250cffa9bacb164b59b463f598da571 (diff) | |
| download | brew-21eaa1c60a0868b78db27f80d93e84cd85a51c75.tar.bz2 | |
Merge pull request #2006 from vszakats/patch-2
audit: enforce https for *.sourceforge.io urls
Diffstat (limited to 'Library/Homebrew/dev-cmd')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 0522c7878..6aeb18749 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -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 |
