diff --git a/3rdparty b/3rdparty
index 5935defbd4b61..741a5911c86da 160000
--- a/3rdparty
+++ b/3rdparty
@@ -1 +1 @@
-Subproject commit 5935defbd4b614d76f84ef357f28810957d1ee11
+Subproject commit 741a5911c86da3fa15347d1f0858d66cd3407011
diff --git a/apps/dav/lib/Connector/Sabre/Directory.php b/apps/dav/lib/Connector/Sabre/Directory.php
index 1634c512804b3..da26c9b475616 100644
--- a/apps/dav/lib/Connector/Sabre/Directory.php
+++ b/apps/dav/lib/Connector/Sabre/Directory.php
@@ -472,7 +472,7 @@ public function moveInto($targetName, $fullSourcePath, INode $sourceNode) {
}
#[\Override]
- public function copyInto($targetName, $sourcePath, INode $sourceNode) {
+ public function copyInto($targetName, $sourcePath, INode $sourceNode, int $depth): bool {
if ($sourceNode instanceof File || $sourceNode instanceof Directory) {
try {
$destinationPath = $this->getPath() . '/' . $targetName;
diff --git a/apps/dav/lib/Connector/Sabre/ObjectTree.php b/apps/dav/lib/Connector/Sabre/ObjectTree.php
index 0feb7032b8507..3e9140576a35d 100644
--- a/apps/dav/lib/Connector/Sabre/ObjectTree.php
+++ b/apps/dav/lib/Connector/Sabre/ObjectTree.php
@@ -21,6 +21,7 @@
use OCP\Files\StorageInvalidException;
use OCP\Files\StorageNotAvailableException;
use OCP\Lock\LockedException;
+use Sabre\DAV\Server;
class ObjectTree extends CachingTree {
@@ -154,7 +155,7 @@ public function getNodeForPath($path) {
* @return void
*/
#[\Override]
- public function copy($sourcePath, $destinationPath) {
+ public function copy($sourcePath, $destinationPath, int $depth = Server::DEPTH_INFINITY): void {
if (!$this->fileView) {
throw new \Sabre\DAV\Exception\ServiceUnavailable('filesystem not setup');
}
diff --git a/apps/dav/lib/ExampleContentFiles/exampleContact.vcf b/apps/dav/lib/ExampleContentFiles/exampleContact.vcf
index c58c949d0db6c..95c3310052d0c 100644
--- a/apps/dav/lib/ExampleContentFiles/exampleContact.vcf
+++ b/apps/dav/lib/ExampleContentFiles/exampleContact.vcf
@@ -1,6 +1,6 @@
BEGIN:VCARD
VERSION:3.0
-PRODID:-//Sabre//Sabre VObject 4.5.6//EN
+PRODID:-//Sabre//Sabre VObject 4.6.1//EN
UID:cffff367-4580-4e01-8b6d-f91e95ce7e92
FN:Leon Green
ADR;TYPE=HOME:;;123 Street Street;City;State;;Country
diff --git a/apps/dav/tests/unit/test_fixtures/example-event-default-expected.ics b/apps/dav/tests/unit/test_fixtures/example-event-default-expected.ics
index 09606ca5ee4d9..4d523f6d64b67 100644
--- a/apps/dav/tests/unit/test_fixtures/example-event-default-expected.ics
+++ b/apps/dav/tests/unit/test_fixtures/example-event-default-expected.ics
@@ -1,6 +1,6 @@
BEGIN:VCALENDAR
VERSION:2.0
-PRODID:-//Sabre//Sabre VObject 4.5.6//EN
+PRODID:-//Sabre//Sabre VObject 4.6.1//EN
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID:RANDOM-UID
diff --git a/tests/data/ics/event-builder-complete.ics b/tests/data/ics/event-builder-complete.ics
index 65fe8e6cf1328..29d5398b29cb7 100644
--- a/tests/data/ics/event-builder-complete.ics
+++ b/tests/data/ics/event-builder-complete.ics
@@ -1,6 +1,6 @@
BEGIN:VCALENDAR
VERSION:2.0
-PRODID:-//Sabre//Sabre VObject 4.5.6//EN
+PRODID:-//Sabre//Sabre VObject 4.6.1//EN
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID:event-uid-123
diff --git a/tests/data/ics/event-builder-without-attendees.ics b/tests/data/ics/event-builder-without-attendees.ics
index fad48caa3a9e8..1823117a2b43c 100644
--- a/tests/data/ics/event-builder-without-attendees.ics
+++ b/tests/data/ics/event-builder-without-attendees.ics
@@ -1,6 +1,6 @@
BEGIN:VCALENDAR
VERSION:2.0
-PRODID:-//Sabre//Sabre VObject 4.5.6//EN
+PRODID:-//Sabre//Sabre VObject 4.6.1//EN
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID:event-uid-123
diff --git a/tests/data/ics/free-busy-request.ics b/tests/data/ics/free-busy-request.ics
index dd01d35b67131..c45f94bb01c27 100644
--- a/tests/data/ics/free-busy-request.ics
+++ b/tests/data/ics/free-busy-request.ics
@@ -1,6 +1,6 @@
BEGIN:VCALENDAR
VERSION:2.0
-PRODID:-//Sabre//Sabre VObject 4.5.6//EN
+PRODID:-//Sabre//Sabre VObject 4.6.1//EN
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VFREEBUSY
diff --git a/tests/lib/Calendar/ManagerTest.php b/tests/lib/Calendar/ManagerTest.php
index ce7ce113ce8bd..007a492e4bdf2 100644
--- a/tests/lib/Calendar/ManagerTest.php
+++ b/tests/lib/Calendar/ManagerTest.php
@@ -981,7 +981,7 @@ private function getFreeBusyResponse(): string {
2.0;Success
BEGIN:VCALENDAR
VERSION:2.0
-PRODID:-//Sabre//Sabre VObject 4.5.6//EN
+PRODID:-//Sabre//Sabre VObject 4.6.1//EN
CALSCALE:GREGORIAN
METHOD:REPLY
BEGIN:VFREEBUSY
@@ -1004,7 +1004,7 @@ private function getFreeBusyResponse(): string {
2.0;Success
BEGIN:VCALENDAR
VERSION:2.0
-PRODID:-//Sabre//Sabre VObject 4.5.6//EN
+PRODID:-//Sabre//Sabre VObject 4.6.1//EN
CALSCALE:GREGORIAN
METHOD:REPLY
BEGIN:VFREEBUSY
@@ -1025,7 +1025,7 @@ private function getFreeBusyResponse(): string {
2.0;Success
BEGIN:VCALENDAR
VERSION:2.0
-PRODID:-//Sabre//Sabre VObject 4.5.6//EN
+PRODID:-//Sabre//Sabre VObject 4.6.1//EN
CALSCALE:GREGORIAN
METHOD:REPLY
BEGIN:VFREEBUSY