From c471edc488f49f254c77ab97ecc14ea50bf3d2ab Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 10 Jun 2015 17:13:56 +0100 Subject: [PATCH] Also downgrade provider access and others --- src/Composer/Repository/ComposerRepository.php | 1 + 1 file changed, 1 insertion(+) 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'])) {