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:
parent
9d2db57f65
commit
d5158d943f
2 changed files with 7 additions and 10 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue