Commit:    f2193b44e17bf72d6beb4aeed1fd803d0d12e768
Author:    Anatol Belski <[email protected]>         Mon, 13 Apr 2015 08:51:16 +0200
Parents:   1e13ff6d8c68fdefb3830dcb120be66915584800
Branches:  master pecl_legacy

Link:       
http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=f2193b44e17bf72d6beb4aeed1fd803d0d12e768

Log:
fix certificate issues when fetching pecl tgz

Changed paths:
  M  client/script/pecl_rss.php


Diff:
diff --git a/client/script/pecl_rss.php b/client/script/pecl_rss.php
index 7ac7ad5..72bf1c8 100644
--- a/client/script/pecl_rss.php
+++ b/client/script/pecl_rss.php
@@ -89,7 +89,9 @@ foreach($latest->item as $item) {
                        $get_url_tpl
                );
 
-               $curl_cmd = $curl . ' -s -L -J -O ' . $get_url;
+               /* XXX -k is needed as the host is good known, but the download 
can fail on
+                       certain versions because of certs */
+               $curl_cmd = $curl . ' -s -L -J -O -k ' . $get_url;
                $back = getcwd();
 
                chdir($download_dir);


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to