Skip to content

Commit

Permalink
Fixing locale-aware issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tangix committed Jul 5, 2024
1 parent a6a50cc commit c50ae9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/HTTP/CURLRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ protected function setCURLOptions(array $curlOptions = [], array $config = [])

// version
if (! empty($config['version'])) {
$version = sprintf('%.1f', $config['version']);
$version = sprintf('%.1F', $config['version']);
if ($version === '1.0') {
$curlOptions[CURLOPT_HTTP_VERSION] = CURL_HTTP_VERSION_1_0;
} elseif ($version === '1.1') {
Expand Down

0 comments on commit c50ae9d

Please sign in to comment.