diff options
| author | Viktor Szakáts | 2015-03-17 21:26:11 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-03-18 12:29:00 +0000 |
| commit | 3d23580ff23a5f46b5bfabeb97102b1f139bf131 (patch) | |
| tree | 8dc56529e22932a39320bb1e7dc2b6c79588fdd1 /Library | |
| parent | 098ccfa9a88890641087566a7e372d60febca1e6 (diff) | |
| download | brew-3d23580ff23a5f46b5bfabeb97102b1f139bf131.tar.bz2 | |
audit: fix to enforce https for apache homepage
It was failing to recognize the URL without an ending slash.
Closes Homebrew/homebrew#37808.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 48752bb21..13fda12c0 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -301,7 +301,7 @@ class FormulaAuditor problem "Github Pages links should be https:// (URL is #{homepage})." end - if homepage =~ %r[^http://[^/]*\.apache\.org/] + if homepage =~ %r[^http://[^/]*\.apache\.org] problem "Apache homepages should be https:// links (URL is #{homepage})." end |
