Преглед изворни кода

Also downgrade provider access and others

Jordi Boggiano пре 9 година
родитељ
комит
c471edc488
1 измењених фајлова са 1 додато и 0 уклоњено
  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'])) {