Skip to content

Commit c50ae9d

Browse files
committed
Fixing locale-aware issue
1 parent a6a50cc commit c50ae9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/HTTP/CURLRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ protected function setCURLOptions(array $curlOptions = [], array $config = [])
651651

652652
// version
653653
if (! empty($config['version'])) {
654-
$version = sprintf('%.1f', $config['version']);
654+
$version = sprintf('%.1F', $config['version']);
655655
if ($version === '1.0') {
656656
$curlOptions[CURLOPT_HTTP_VERSION] = CURL_HTTP_VERSION_1_0;
657657
} elseif ($version === '1.1') {

0 commit comments

Comments
 (0)