diff --git a/src/Composer/Repository/ComposerRepository.php b/src/Composer/Repository/ComposerRepository.php index bd84ae187..47b215c74 100644 --- a/src/Composer/Repository/ComposerRepository.php +++ b/src/Composer/Repository/ComposerRepository.php @@ -444,6 +444,7 @@ class ComposerRepository extends ArrayRepository if ($this->allowSslDowngrade) { $this->url = str_replace('https://', 'http://', $this->url); + $this->baseUrl = str_replace('https://', 'http://', $this->baseUrl); } if (!empty($data['providers-url'])) {