From 95b2edb75819ac5c7dc346ddf347e3fa2f6a1193 Mon Sep 17 00:00:00 2001 From: Wylan Swets Date: Mon, 27 Oct 2025 10:12:48 -0400 Subject: [PATCH] Nextcloud export: fix data chunks not being concatenated (#14517) --- plugins/exporter.koplugin/base.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/exporter.koplugin/base.lua b/plugins/exporter.koplugin/base.lua index 2a69dbaa2..de4dbc6dd 100644 --- a/plugins/exporter.koplugin/base.lua +++ b/plugins/exporter.koplugin/base.lua @@ -201,7 +201,7 @@ function BaseExporter:makeJsonRequest(endpoint, method, body, headers) "no response from server") end - response, err = rapidjson.decode(sink[1]) + response, err = rapidjson.decode(table.concat(sink)) if not response then return nil, string.format(msg_failed, "unable to decode server response" .. err)