Explorar o código

Make sure we can probe http requests, fixes #4965

Jordi Boggiano %!s(int64=9) %!d(string=hai) anos
pai
achega
269e545921
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);