Skip to content

Commit

Permalink
fix(caldav): limit property length
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Larch <[email protected]>
  • Loading branch information
miaulalala committed Aug 21, 2024
1 parent ebe2429 commit 6627a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/CalDAV/CalDavBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 6627a73

Please sign in to comment.