Skip to content
Snippets Groups Projects
Commit 8f465d37 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #10850 TIME 0:10 send to MP with https

parent 1935af58
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,7 @@ class CurlModel ...@@ -36,6 +36,7 @@ class CurlModel
$opts = [ $opts = [
CURLOPT_URL => $curlConfig['url'], CURLOPT_URL => $curlConfig['url'],
CURLOPT_RETURNTRANSFER => true, CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYPEER => false,
]; ];
if (empty($aArgs['multipleObject'])) { if (empty($aArgs['multipleObject'])) {
...@@ -261,7 +262,7 @@ class CurlModel ...@@ -261,7 +262,7 @@ class CurlModel
ValidatorModel::stringType($args, ['url', 'method', 'user', 'password']); ValidatorModel::stringType($args, ['url', 'method', 'user', 'password']);
ValidatorModel::arrayType($args, ['headers', 'queryParams', 'basicAuth', 'bearerAuth']); ValidatorModel::arrayType($args, ['headers', 'queryParams', 'basicAuth', 'bearerAuth']);
$opts = [CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => true]; $opts = [CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => true, CURLOPT_SSL_VERIFYPEER => false];
//Headers //Headers
if (!empty($args['headers'])) { if (!empty($args['headers'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment