diff options
author | Anna Larch <anna@nextcloud.com> | 2024-08-20 13:20:47 +0200 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2024-08-22 12:15:51 +0200 |
commit | 3ff7d64fda2aa8885331ba23e310d61091f95587 (patch) | |
tree | a8e1978e581d10afcebb3b377747421bf5bd61e6 /apps/dav/lib | |
parent | ebe2429c0afdb8b1d024dbb053b54da9ef15422a (diff) | |
download | nextcloud-server-3ff7d64fda2aa8885331ba23e310d61091f95587.tar.gz nextcloud-server-3ff7d64fda2aa8885331ba23e310d61091f95587.zip |
fix(caldav): limit property length
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/dav/lib')
-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 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(); } |