Browse Source

Also downgrade provider access and others

Jordi Boggiano 9 years ago
parent
commit
c471edc488
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Composer/Repository/ComposerRepository.php

+ 1 - 0
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'])) {