aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Bünemann2015-03-15 04:34:21 +0100
committerMike McQuaid2015-03-15 12:51:51 +0000
commitc8415c665ae74cb20efaee5aaac6a917833e07a8 (patch)
treef45299f81c7943dd1b03149719cf55a2e0d56b4f
parentda0d2bf65d7f6edf5b852ed94d55a62f689462df (diff)
downloadbrew-c8415c665ae74cb20efaee5aaac6a917833e07a8.tar.bz2
download_strategy: allow ssl apache mirror links.
Closes Homebrew/homebrew#37732. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index a8e4457cf..72a64bdd2 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -821,7 +821,7 @@ class DownloadStrategyDetector
case url
when %r[^https?://.+\.git$], %r[^git://]
GitDownloadStrategy
- when %r[^http://www\.apache\.org/dyn/closer\.cgi]
+ when %r[^https?://www\.apache\.org/dyn/closer\.cgi]
CurlApacheMirrorDownloadStrategy
when %r[^https?://(.+?\.)?googlecode\.com/svn], %r[^https?://svn\.], %r[^svn://], %r[^https?://(.+?\.)?sourceforge\.net/svnroot/]
SubversionDownloadStrategy