aboutsummaryrefslogtreecommitdiff
path: root/app/Utils/httpUtil.php
diff options
context:
space:
mode:
authorGravatar Michael Meier <mmeier1986@googlemail.com> 2026-01-03 18:43:15 +0100
committerGravatar GitHub <noreply@github.com> 2026-01-03 18:43:15 +0100
commitb07ec816b023c911f76c4149d00a2ffbdcab1d16 (patch)
tree0c1f2835fbe159280608dd0479fbedb7f3e71dc4 /app/Utils/httpUtil.php
parent26c1102567c095b051b5e1a0aedb45b78713c283 (diff)
Switch to using CURLOPT_ACCEPT_ENCODING instead of the deprecated CURLOPT_ENCODING (#8376)
* Replace deprecated CURLOPT_ENCODING The CURLOPT_ENCODING setting has been deprecated in favor of CURLOPT_ACCEPT_ENCODING. Signed-off-by: Michael Meier <mmeier1986@gmail.com> * Sync with our SimplePie fork PR https://github.com/FreshRSS/simplepie/pull/67 https://github.com/simplepie/simplepie/pull/960 https://github.com/simplepie/simplepie/pull/962 * Our SimplePie PR merged --------- Signed-off-by: Michael Meier <mmeier1986@gmail.com> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/Utils/httpUtil.php')
-rw-r--r--app/Utils/httpUtil.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Utils/httpUtil.php b/app/Utils/httpUtil.php
index ba63f0dde..5b652b5f2 100644
--- a/app/Utils/httpUtil.php
+++ b/app/Utils/httpUtil.php
@@ -339,7 +339,7 @@ final class FreshRSS_http_Util {
CURLOPT_MAXREDIRS => 4,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
- CURLOPT_ENCODING => '', //Enable all encodings
+ CURLOPT_ACCEPT_ENCODING => '', //Enable all encodings
//CURLOPT_VERBOSE => 1, // To debug sent HTTP headers
]);