Selaa lähdekoodia

Make sure we can probe http requests, fixes #4965

Jordi Boggiano 9 vuotta sitten
vanhempi
commit
269e545921
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      src/Composer/Command/DiagnoseCommand.php

+ 2 - 0
src/Composer/Command/DiagnoseCommand.php

@@ -75,6 +75,8 @@ EOT
             $config = Factory::createConfig();
         }
 
+        $config->merge(array('config' => array('secure-http' => false)));
+
         $this->rfs = Factory::createRemoteFilesystem($io, $config);
         $this->process = new ProcessExecutor($io);