mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
Fix urlencoding of gitlab dots, fixes #6064
This commit is contained in:
parent
65a5727315
commit
f3d0e4660d
2 changed files with 5 additions and 3 deletions
|
@ -290,8 +290,8 @@ JSON;
|
|||
|
||||
public function testGitlabSubDirectory()
|
||||
{
|
||||
$url = 'https://mycompany.com/gitlab/mygroup/myproject';
|
||||
$apiUrl = 'https://mycompany.com/gitlab/api/v3/projects/mygroup%2Fmyproject';
|
||||
$url = 'https://mycompany.com/gitlab/mygroup/my-pro.ject';
|
||||
$apiUrl = 'https://mycompany.com/gitlab/api/v3/projects/mygroup%2Fmy-pro%2Eject';
|
||||
|
||||
$driver = new GitLabDriver(array('url' => $url), $this->io->reveal(), $this->config, $this->process->reveal(), $this->remoteFilesystem->reveal());
|
||||
$driver->initialize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue