Unverified Commit d9f19b6b by Scott Committed by GitHub

Merge pull request #853 from rklec/patch-2

Do verify SSL/TLS certificates when using cURL
parents c0550ba0 8c6fd032
......@@ -1881,7 +1881,6 @@ function qa_retrieve_url($url)
if (function_exists('curl_exec')) {
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
$contents = @curl_exec($curl);
curl_close($curl);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment