Skip to content

Commit ac5e15f

Browse files
committed
Merge pull request ornicar#18 from kbond/patch-1
Adding this options prevents issues when using Github API v3
2 parents f4e5b5a + 5437606 commit ac5e15f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Github/HttpClient/Curl.php

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public function doRequest($url, array $parameters = array(), $httpMethod = 'GET'
6363
CURLOPT_USERAGENT => $options['user_agent'],
6464
CURLOPT_FOLLOWLOCATION => true,
6565
CURLOPT_RETURNTRANSFER => true,
66+
CURLOPT_SSL_VERIFYPEER => false,
6667
CURLOPT_TIMEOUT => $options['timeout']
6768
);
6869

0 commit comments

Comments
 (0)