From 3ff7d64fda2aa8885331ba23e310d61091f95587 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Tue, 20 Aug 2024 13:20:47 +0200 Subject: [PATCH] fix(caldav): limit property length Signed-off-by: Anna Larch --- apps/dav/lib/CalDAV/CalDavBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php index fd6dc401e18b8..70895ac2c43c0 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -3214,7 +3214,7 @@ public function updateProperties($calendarId, $objectUri, $calendarData, $calend $query->setParameter('name', $property->name); $query->setParameter('parameter', null); - $query->setParameter('value', $value); + $query->setParameter('value', mb_strcut($value, 0, 254)); $query->executeStatement(); }