Explorar el Código

Make sure we can probe http requests, fixes #4965

Jordi Boggiano hace 9 años
padre
commit
269e545921
Se han modificado 1 ficheros con 2 adiciones y 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);