From 531cfe8d327cb40c87d9438647027a41060bc0e1 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 7 Apr 2016 12:44:52 +0200 Subject: [PATCH] use https --- bin/pecl+sig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pecl+sig b/bin/pecl+sig index 4ce3e2f..c1c5443 100755 --- a/bin/pecl+sig +++ b/bin/pecl+sig @@ -70,9 +70,9 @@ function work($url, $dir) { ]); }; -if (($sxe = simplexml_load_file("http://pecl.php.net/feeds/$what.rss"))) { +if (($sxe = simplexml_load_file("https://pecl.php.net/feeds/$what.rss"))) { foreach ($sxe->item as $item) { - $url = (string) $item->link; + $url = str_replace("http://", "https://", (string) $item->link); $pkg = basename(dirname($url)); $ver = basename($url); $skp = sprintf("%s/../skip/%s/%s", __DIR__, $pkg, $ver); -- 2.30.2