aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorViktor Szakáts2015-03-17 21:26:11 +0100
committerMike McQuaid2015-03-18 12:29:00 +0000
commit3c9c7c04665249ba515b5d36da3efc5eedd4c19c (patch)
tree6ea0a6075a9cd9f6465ea5bc915cb6eb06b8d1a0 /Library/Homebrew/cmd
parent4e1aef48048f12ea76f173353be711f6da48f500 (diff)
downloadhomebrew-3c9c7c04665249ba515b5d36da3efc5eedd4c19c.tar.bz2
audit: fix to enforce https for apache homepage
It was failing to recognize the URL without an ending slash. Closes #37808. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
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