1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 09:02:59 +00:00

Exempt custom URLs from secure-http checks, refs #5173

This commit is contained in:
Niels Keurentjes 2016-04-16 00:13:07 +02:00 committed by Jordi Boggiano
parent 9d2db57f65
commit d5158d943f
2 changed files with 7 additions and 10 deletions

View file

@ -250,6 +250,8 @@ class ConfigTest extends \PHPUnit_Framework_TestCase
'\\myserver\myplace.git',
'file://myserver.localhost/mygit.git',
'file://example.org/mygit.git',
'git:Department/Repo.git',
'ssh://[user@]host.xz[:port]/path/to/repo.git/',
);
return array_combine($urls, array_map(function ($e) { return array($e); }, $urls));