Skip to content

Commit

Permalink
disabled the CURLOPT_ENCODING setting for avoind the #79, #83
Browse files Browse the repository at this point in the history
  • Loading branch information
lesstif committed Sep 16, 2024
1 parent e2162c1 commit 9db03b8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/JiraClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,8 @@ public function exec(string $context, array|string $post_data = null, string $cu
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
}

if (\PHP_VERSION_ID < 80307) {
// See https://github.com/php/php-src/issues/14184
curl_setopt($ch, CURLOPT_ENCODING, '');
}
// See https://github.com/php/php-src/issues/14184
// curl_setopt($ch, CURLOPT_ENCODING, '');

curl_setopt(
$ch,
Expand Down

0 comments on commit 9db03b8

Please sign in to comment.