Disable SSL certificates validation
This commit is contained in:
parent
8fd7b18927
commit
47812966b0
1
vendor/PicoFeed/Filter.php
vendored
1
vendor/PicoFeed/Filter.php
vendored
@ -70,6 +70,7 @@ class Filter
|
||||
|
||||
public $blacklist_media = array(
|
||||
'feeds.feedburner.com',
|
||||
'share.feedsportal.com',
|
||||
'da.feedsportal.com',
|
||||
'rss.feedsportal.com',
|
||||
'res.feedsportal.com',
|
||||
|
3
vendor/PicoFeed/RemoteResource.php
vendored
3
vendor/PicoFeed/RemoteResource.php
vendored
@ -125,6 +125,9 @@ class RemoteResource
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
||||
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);
|
||||
|
||||
// Don't check SSL certificates (for auto-signed certificates...)
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
|
||||
|
||||
$http_response = curl_exec($ch);
|
||||
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
|
||||
$http_body = '';
|
||||
|
Loading…
Reference in New Issue
Block a user