mirror of
https://github.com/Mibew/mibew.git
synced 2025-04-18 12:57:24 +03:00
Lower security level for cURL to temporary handle #256
This commit is contained in:
parent
0317979c92
commit
e8c069ad11
@ -131,6 +131,7 @@ class UpdateChecker
|
|||||||
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
|
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
|
||||||
curl_setopt($ch, CURLOPT_POST, true);
|
curl_setopt($ch, CURLOPT_POST, true);
|
||||||
curl_setopt($ch, CURLOPT_MAXREDIRS, 5);
|
curl_setopt($ch, CURLOPT_MAXREDIRS, 5);
|
||||||
|
curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'DEFAULT@SECLEVEL=1');
|
||||||
|
|
||||||
$json = json_encode($this->getSystemInfo());
|
$json = json_encode($this->getSystemInfo());
|
||||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $json);
|
curl_setopt($ch, CURLOPT_POSTFIELDS, $json);
|
||||||
|
Loading…
Reference in New Issue
Block a user