diff --git a/core/curl/build b/core/curl/build index dbbf7edd..998e4965 100755 --- a/core/curl/build +++ b/core/curl/build @@ -7,6 +7,8 @@ sed 's/\(curl_LDADD =\)/\1 -all-static/' src/Makefile.in > _ mv -f _ src/Makefile.in +patch -p1 < fix-http-dec-flag.patch + ./configure \ ac_cv_path_PERL=true \ --prefix=/usr \ diff --git a/core/curl/checksums b/core/curl/checksums index 0bd4b8b9..dca931b6 100644 --- a/core/curl/checksums +++ b/core/curl/checksums @@ -503,3 +503,4 @@ c52ad158f2bcec01a52499262cf634d02c1aaaff4abfb4e1eb26b5941d4d55a560 386fee44381a3b5d2196ab1778c8f6954955dac30236f19a0ac54fa1a5cfeae7b6 dfbeb0922974838a2fc897e9bee88d14a1e886105cc7ce389753f9711c7a40eb7f af1349b9f5f9a1a6a0404dea36dcc9499bcb25c9adc112b7cc9a93cae41f3262e0 +57fb77bf85fec7459d2f13f3ea91c51d76a236f99df50562b8a4e1bab54afc5255 diff --git a/core/curl/patches/fix-http-dec-flag.patch b/core/curl/patches/fix-http-dec-flag.patch new file mode 100644 index 00000000..f64546b6 --- /dev/null +++ b/core/curl/patches/fix-http-dec-flag.patch @@ -0,0 +1,26 @@ +From 878bc429f26c27294787dc59d7b53345d9edc5aa Mon Sep 17 00:00:00 2001 +From: Jesus Malo Poyatos +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) diff --git a/core/curl/sources b/core/curl/sources index df2df822..838d0564 100644 --- a/core/curl/sources +++ b/core/curl/sources @@ -503,3 +503,4 @@ files/libcurl-url.3 docs/libcurl files/libcurl-ws.3 docs/libcurl files/libcurl.3 docs/libcurl files/mk-ca-bundle.1 docs +patches/fix-http-dec-flag.patch diff --git a/core/curl/version b/core/curl/version index 5b70e0e5..61aefa95 100644 --- a/core/curl/version +++ b/core/curl/version @@ -1 +1 @@ -8.11.0 1 +8.11.0 2