diff options
author | SebastianKrupinski <krupinskis05@gmail.com> | 2024-07-04 18:56:27 -0400 |
---|---|---|
committer | SebastianKrupinski <krupinskis05@gmail.com> | 2024-07-10 15:07:06 -0400 |
commit | bb603b23f3d066ec743ede279cd9c8d7af9ae0ae (patch) | |
tree | 8395068035bcd16be578b9a663138c6e72c6710c /apps/dav/appinfo | |
parent | 974fd522e43ade8163f8a3bd7fb9fae9cfc4518a (diff) | |
download | nextcloud-server-bb603b23f3d066ec743ede279cd9c8d7af9ae0ae.tar.gz nextcloud-server-bb603b23f3d066ec743ede279cd9c8d7af9ae0ae.zip |
fix(caldav): limit vevent size
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r-- | apps/dav/appinfo/v1/caldav.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php index 29f161344da..55046409b58 100644 --- a/apps/dav/appinfo/v1/caldav.php +++ b/apps/dav/appinfo/v1/caldav.php @@ -30,6 +30,7 @@ use OC\KnownUser\KnownUserService; use OCA\DAV\CalDAV\CalDavBackend; use OCA\DAV\CalDAV\CalendarRoot; use OCA\DAV\CalDAV\Security\RateLimitingPlugin; +use OCA\DAV\CalDAV\Validation\CalDavValidatePlugin; use OCA\DAV\Connector\LegacyDAVACL; use OCA\DAV\Connector\Sabre\Auth; use OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin; @@ -118,6 +119,7 @@ if ($sendInvitations) { } $server->addPlugin(new ExceptionLoggerPlugin('caldav', $logger)); $server->addPlugin(\OCP\Server::get(RateLimitingPlugin::class)); +$server->addPlugin(\OCP\Server::get(CalDavValidatePlugin::class)); // And off we go! $server->exec(); |