瀏覽代碼

Make sure we can probe http requests, fixes #4965

Jordi Boggiano 9 年之前
父節點
當前提交
269e545921
共有 1 個文件被更改,包括 2 次插入0 次删除
  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);