From 3ff7d64fda2aa8885331ba23e310d61091f95587 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Tue, 20 Aug 2024 13:20:47 +0200 Subject: fix(caldav): limit property length Signed-off-by: Anna Larch --- apps/dav/lib/CalDAV/CalDavBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dav/lib') diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php index fd6dc401e18..70895ac2c43 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -3214,7 +3214,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription $query->setParameter('name', $property->name); $query->setParameter('parameter', null); - $query->setParameter('value', $value); + $query->setParameter('value', mb_strcut($value, 0, 254)); $query->executeStatement(); } -- cgit v1.2.3