Index: trunk/extensions/ExternalData/ED_Utils.php |
— | — | @@ -395,7 +395,9 @@ |
396 | 396 | |
397 | 397 | if ( !isset( $edgCacheTable ) || is_null( $edgCacheTable ) ) { |
398 | 398 | if ( $edgAllowSSL ) { |
399 | | - return Http::get( $url, 'default', array( CURLOPT_SSL_VERIFYPEER => false, 'followRedirects' => false ) ); |
| 399 | + // The hardcoded 'CURLOPT_SSL_VERIFYPEER' is |
| 400 | + // needed for MW < 1.17 |
| 401 | + return Http::get( $url, 'default', array( CURLOPT_SSL_VERIFYPEER => false, 'sslVerifyCert' => false, 'followRedirects' => false ) ); |
400 | 402 | } else { |
401 | 403 | return Http::get( $url ); |
402 | 404 | } |