com web/rmtools: switch to https for pecl fetching: client/script/pecl_rss.php

From: Date: Thu, 16 Apr 2015 18:38:28 +0000
Subject: com web/rmtools: switch to https for pecl fetching: client/script/pecl_rss.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-26027@lists.php.net to get a copy of this message
Commit: cfe2139f1ba7673b5ed3edb8e8e9e279b3c57dad Author: Anatol Belski <ab@php.net> Thu, 16 Apr 2015 20:38:28 +0200 Parents: ae6380886568749c08573633ecc3019ae0d20180 Branches: master pecl_legacy Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=cfe2139f1ba7673b5ed3edb8e8e9e279b3c57dad Log: switch to https for pecl fetching Changed paths: M client/script/pecl_rss.php Diff: diff --git a/client/script/pecl_rss.php b/client/script/pecl_rss.php index 3126ada..283f514 100644 --- a/client/script/pecl_rss.php +++ b/client/script/pecl_rss.php @@ -57,7 +57,7 @@ if ($dump_all) { /* --refresh, need to wrap it all with ifs maybe*/ echo "Refreshing the data" . PHP_EOL; -$rss = 'http://pecl.php.net/feeds/latest.rss'; +$rss = 'https://pecl.php.net/feeds/latest.rss'; echo "Fetching $rss" . PHP_EOL; $latest = simplexml_load_file($rss); @@ -66,7 +66,7 @@ if (!isset($latest->item)) { } $curl = 'C:\apps\bin\curl.exe'; -$get_url_tpl = 'http://pecl.php.net/get/{name}/{version}'; +$get_url_tpl = 'https://pecl.php.net/get/{name}/{version}'; $download_dir = 'c:\pecl-in-pkg'; foreach($latest->item as $item) { @@ -134,7 +134,7 @@ foreach($latest->item as $item) { } /* * when need more, look here (or /r) using name and version - * $url = 'http://pecl.php.net/rest/p/'; + * $url = 'https://pecl.php.net/rest/p/'; */ }

« previous php.webmaster (#26027) next »