-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
114ab20
commit 6b9d63a
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 878bc429f26c27294787dc59d7b53345d9edc5aa Mon Sep 17 00:00:00 2001 | ||
From: Jesus Malo Poyatos <jmalopoy@opentext.com> | ||
Date: Thu, 7 Nov 2024 14:00:53 +0100 | ||
Subject: [PATCH] setopt: fix CURLOPT_HTTP_CONTENT_DECODING | ||
|
||
Regression from 30da1f5974d34841b30c4f (shipped in 8.11.0) | ||
|
||
Fixes #15511 | ||
Closes #15510 | ||
--- | ||
lib/setopt.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/lib/setopt.c b/lib/setopt.c | ||
index 4f0697212739ef..ba80644bc73279 100644 | ||
--- a/lib/setopt.c | ||
+++ b/lib/setopt.c | ||
@@ -1146,7 +1146,7 @@ static CURLcode setopt_long(struct Curl_easy *data, CURLoption option, | ||
/* | ||
* raw data passed to the application when content encoding is used | ||
*/ | ||
- data->set.http_ce_skip = enabled; | ||
+ data->set.http_ce_skip = !enabled; /* reversed */ | ||
break; | ||
|
||
#if !defined(CURL_DISABLE_FTP) || defined(USE_SSH) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters