download_strategy: allow ssl apache mirror links.

Closes Homebrew/homebrew#37732.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Felix Bünemann 2015-03-15 04:34:21 +01:00 committed by Mike McQuaid
parent da0d2bf65d
commit c8415c665a

View File

@ -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