From 365a040dc3254fa1261f304c7c06167c0f71d62f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Thu, 16 Oct 2025 15:44:21 +0200 Subject: [PATCH] fix: temporarily disable public shares chunking capability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ Signed-off-by: skjnldsv --- apps/dav/lib/Capabilities.php | 2 +- apps/dav/tests/unit/CapabilitiesTest.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/dav/lib/Capabilities.php b/apps/dav/lib/Capabilities.php index f9bad25bf31..eb777769b61 100644 --- a/apps/dav/lib/Capabilities.php +++ b/apps/dav/lib/Capabilities.php @@ -24,7 +24,7 @@ class Capabilities implements ICapability { $capabilities = [ 'dav' => [ 'chunking' => '1.0', - 'public_shares_chunking' => true, + 'public_shares_chunking' => false, ] ]; if ($this->config->getSystemValueBool('bulkupload.enabled', true)) { diff --git a/apps/dav/tests/unit/CapabilitiesTest.php b/apps/dav/tests/unit/CapabilitiesTest.php index ad70d576d48..873500646c2 100644 --- a/apps/dav/tests/unit/CapabilitiesTest.php +++ b/apps/dav/tests/unit/CapabilitiesTest.php @@ -30,7 +30,7 @@ class CapabilitiesTest extends TestCase { $expected = [ 'dav' => [ 'chunking' => '1.0', - 'public_shares_chunking' => true, + 'public_shares_chunking' => false, ], ]; $this->assertSame($expected, $capabilities->getCapabilities()); @@ -50,7 +50,7 @@ class CapabilitiesTest extends TestCase { $expected = [ 'dav' => [ 'chunking' => '1.0', - 'public_shares_chunking' => true, + 'public_shares_chunking' => false, 'bulkupload' => '1.0', ], ]; @@ -71,7 +71,7 @@ class CapabilitiesTest extends TestCase { $expected = [ 'dav' => [ 'chunking' => '1.0', - 'public_shares_chunking' => true, + 'public_shares_chunking' => false, 'absence-supported' => true, 'absence-replacement' => true, ],