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
commit3d23580ff23a5f46b5bfabeb97102b1f139bf131 (patch)
tree8dc56529e22932a39320bb1e7dc2b6c79588fdd1 /Library/Homebrew/cmd
parent098ccfa9a88890641087566a7e372d60febca1e6 (diff)
downloadbrew-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/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