aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-05-04 07:44:19 +0000
committerMario <mario@mariovavti.com>2020-05-04 07:44:19 +0000
commitad040a0b111539d6cdc4922539d550e21500be04 (patch)
tree9eaf767301fc29208ea44f7f24b3bad640075b97
parent4eaba326ceeaadf0bbe418e4b8a8d5b63e9672b4 (diff)
downloadvolse-hubzilla-ad040a0b111539d6cdc4922539d550e21500be04.tar.gz
volse-hubzilla-ad040a0b111539d6cdc4922539d550e21500be04.tar.bz2
volse-hubzilla-ad040a0b111539d6cdc4922539d550e21500be04.zip
set CURLOPT_ENCODING in z_post_url()
-rw-r--r--include/network.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/network.php b/include/network.php
index 29c5bbcb9..80d19797b 100644
--- a/include/network.php
+++ b/include/network.php
@@ -258,6 +258,7 @@ function z_post_url($url, $params, $redirects = 0, $opts = array()) {
@curl_setopt($ch, CURLOPT_POST,1);
@curl_setopt($ch, CURLOPT_POSTFIELDS,$params);
@curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (compatible; zot)");
+ @curl_setopt($ch, CURLOPT_ENCODING, '');
$ciphers = @get_config('system','curl_ssl_ciphers');
if($ciphers)