From: Michael Wallner Date: Thu, 7 Apr 2016 10:44:52 +0000 (+0200) Subject: use https X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=531cfe8d327cb40c87d9438647027a41060bc0e1;p=pharext%2Freplicator.pharext.org use https --- 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);