From 269e545921f738d41fafea9bf87ba39c27691307 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 26 Feb 2016 00:05:09 +0000 Subject: [PATCH] Make sure we can probe http requests, fixes #4965 --- src/Composer/Command/DiagnoseCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Composer/Command/DiagnoseCommand.php b/src/Composer/Command/DiagnoseCommand.php index f36b7bc31..8fcd2f895 100644 --- a/src/Composer/Command/DiagnoseCommand.php +++ b/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);