]> source.dussan.org Git - nextcloud-server.git/commit
fix(caldav): add webroot to objectid for activities 40402/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Wed, 6 Sep 2023 15:48:21 +0000 (17:48 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Wed, 13 Sep 2023 19:34:03 +0000 (19:34 +0000)
commit0da5cb3b85eeb80c1dc9c043198cb424e25f560c
treea4c36fa616a68c3d4c6b68cde6d92cdee91b1e17
parent0e5bb30929d74e88da06b7c55c26c25894913e18
fix(caldav): add webroot to objectid for activities

A calendar uri includes the webroot: example.com/cloud/remote.php/dav/calendars/alice/personal/
The calendar app uses base64(calendar uri) as identifier for calendar objects.

Without this patch the links from activity app to calendar app don't work for installations in a subdirectory.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
apps/dav/lib/CalDAV/Activity/Provider/Event.php
apps/dav/tests/unit/CalDAV/Activity/Provider/EventTest.php