diff options
author | Fomafix <fomafix@googlemail.com> | 2017-12-02 21:38:29 +0100 |
---|---|---|
committer | Fomafix <fomafix@googlemail.com> | 2018-05-22 12:14:14 +0200 |
commit | d65ac78277fc04df431d89ded95d0cdd76cddad0 (patch) | |
tree | ac50de36240f4cede694039d4c0bf946e8e789bb /includes/http/HttpRequestFactory.php | |
parent | 24d1fcafba393b19ee3b94146dc3f48fef3ee96f (diff) | |
download | mediawikicore-d65ac78277fc04df431d89ded95d0cdd76cddad0.tar.gz mediawikicore-d65ac78277fc04df431d89ded95d0cdd76cddad0.zip |
Replace HTTP by HTTPS
* https://www.unicode.org/ instead of http://www.unicode.org/ or
http://unicode.org/
* https://secure.php.net/ instead of http://www.php.net/ or
http://php.net/
* https://hhvm.com/ instead of http://hhvm.com/
* https://www.iis.net/ instead of http://www.iis.net/
Change-Id: I84d818a7e0ced5ffb9485ec89a75efb28a77c1e0
Diffstat (limited to 'includes/http/HttpRequestFactory.php')
-rw-r--r-- | includes/http/HttpRequestFactory.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/http/HttpRequestFactory.php b/includes/http/HttpRequestFactory.php index 80f9b6886281..c5413b37d806 100644 --- a/includes/http/HttpRequestFactory.php +++ b/includes/http/HttpRequestFactory.php @@ -45,8 +45,8 @@ class HttpRequestFactory { if ( !Http::$httpEngine ) { Http::$httpEngine = function_exists( 'curl_init' ) ? 'curl' : 'php'; } elseif ( Http::$httpEngine == 'curl' && !function_exists( 'curl_init' ) ) { - throw new DomainException( __METHOD__ . ': curl (http://php.net/curl) is not installed, but' . - ' Http::$httpEngine is set to "curl"' ); + throw new DomainException( __METHOD__ . ': curl (https://secure.php.net/curl) is not ' . + 'installed, but Http::$httpEngine is set to "curl"' ); } if ( !isset( $options['logger'] ) ) { @@ -61,7 +61,7 @@ class HttpRequestFactory { throw new DomainException( __METHOD__ . ': allow_url_fopen ' . 'needs to be enabled for pure PHP http requests to ' . 'work. If possible, curl should be used instead. See ' . - 'http://php.net/curl.' + 'https://secure.php.net/curl.' ); } return new PhpHttpRequest( $url, $options, $caller, Profiler::instance() ); |