aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorFelix Bùˆnemann2015-03-15 04:34:21 +0100
committerMike McQuaid2015-03-15 12:51:51 +0000
commit1abc8b1940227a501fdbe03808fac712660a31c3 (patch)
treea3cb9bfbb9d7408fb85ddd4c0e179dd03a8d311d /Library
parentd8caaca21e4573a2755164d81f7be7c01807a43d (diff)
downloadhomebrew-1abc8b1940227a501fdbe03808fac712660a31c3.tar.bz2
download_strategy: allow ssl apache mirror links.
Closes #37732. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-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