@@ -166,7 +166,7 @@ |
||
166 | 166 | CURLOPT_URL => (string)$this->request->getUri()->withFragment(''), |
167 | 167 | CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_2TLS, |
168 | 168 | CURLOPT_USERAGENT => $this->options->user_agent, |
169 | - CURLOPT_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS, |
|
169 | + CURLOPT_PROTOCOLS => CURLPROTO_HTTP|CURLPROTO_HTTPS, |
|
170 | 170 | CURLOPT_REDIR_PROTOCOLS => CURLPROTO_HTTPS, |
171 | 171 | CURLOPT_TIMEOUT => $this->options->timeout, |
172 | 172 | CURLOPT_CONNECTTIMEOUT => 30, |
@@ -170,12 +170,12 @@ |
||
170 | 170 | |
171 | 171 | // @codeCoverageIgnoreStart |
172 | 172 | $msg = 'No system CA bundle could be found in any of the the common system locations. ' |
173 | - .'In order to verify peer certificates, you will need to supply the path on disk to a certificate bundle via ' |
|
174 | - .'HTTPOptions::$ca_info. If you do not need a specific certificate bundle, ' |
|
175 | - .'then you can download a CA bundle over here: https://curl.haxx.se/docs/caextract.html. ' |
|
176 | - .'Once you have a CA bundle available on disk, you can set the "curl.cainfo" php.ini setting to point ' |
|
177 | - .'to the path of the file, allowing you to omit the $ca_info setting. ' |
|
178 | - .'See http://curl.haxx.se/docs/sslcerts.html for more information.'; |
|
173 | + .'In order to verify peer certificates, you will need to supply the path on disk to a certificate bundle via ' |
|
174 | + .'HTTPOptions::$ca_info. If you do not need a specific certificate bundle, ' |
|
175 | + .'then you can download a CA bundle over here: https://curl.haxx.se/docs/caextract.html. ' |
|
176 | + .'Once you have a CA bundle available on disk, you can set the "curl.cainfo" php.ini setting to point ' |
|
177 | + .'to the path of the file, allowing you to omit the $ca_info setting. ' |
|
178 | + .'See http://curl.haxx.se/docs/sslcerts.html for more information.'; |
|
179 | 179 | |
180 | 180 | throw new ClientException($msg); |
181 | 181 | // @codeCoverageIgnoreEnd |