Browse Source

Make sure we can probe http requests, fixes #4965

Jordi Boggiano 9 years ago
parent
commit
269e545921
1 changed files with 2 additions and 0 deletions
  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);