Detect http://svn... as svn
This commit is contained in:
parent
68124d481f
commit
f8a6075af3
@ -579,6 +579,8 @@ def detect_download_strategy url
|
||||
when %r[^https?://(.+?\.)?sourceforge\.net/svnroot/] then SubversionDownloadStrategy
|
||||
when %r[^http://svn.apache.org/repos/] then SubversionDownloadStrategy
|
||||
when %r[^http://www.apache.org/dyn/closer.cgi] then CurlApacheMirrorDownloadStrategy
|
||||
# Common URL patterns
|
||||
when %r[^https?://svn\.] then SubversionDownloadStrategy
|
||||
# Otherwise just try to download
|
||||
else CurlDownloadStrategy
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user