Skip to content

Commit

Permalink
Merge pull request #47413 from nextcloud/fix/limit-property-values
Browse files Browse the repository at this point in the history
fix(caldav): limit property length
  • Loading branch information
miaulalala authored Aug 22, 2024
2 parents 0df3a46 + 3ff7d64 commit 639caf6
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 639caf6

Please sign in to comment.