diff options
author | Anna Larch <anna@nextcloud.com> | 2024-08-20 13:20:47 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-08-22 11:20:49 +0000 |
commit | 975f1f596f40dd9e25611c71034d1753d8b84fd6 (patch) | |
tree | a7f2b37f50b5cbce0af6317e798768edc5c8763c /apps | |
parent | 139b93216f705d6b93279d972e360478db5354c9 (diff) | |
download | nextcloud-server-975f1f596f40dd9e25611c71034d1753d8b84fd6.tar.gz nextcloud-server-975f1f596f40dd9e25611c71034d1753d8b84fd6.zip |
fix(caldav): limit property length
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/CalDAV/CalDavBackend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php index 79e1025c5ee..aa15bce01cc 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -3223,7 +3223,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(); } |