diff options
author | SebastianKrupinski <krupinskis05@gmail.com> | 2024-07-04 18:56:27 -0400 |
---|---|---|
committer | SebastianKrupinski <krupinskis05@gmail.com> | 2024-07-04 18:56:27 -0400 |
commit | 247fbb55384061c10d53f2ea173a1f03be4a5f68 (patch) | |
tree | 2b47cf14744f01ee708bba2ceb679dd873cc6a9d /apps/dav/appinfo | |
parent | a8e581ca94f053dfa4495ff2073954ebd33aa5b1 (diff) | |
download | nextcloud-server-247fbb55384061c10d53f2ea173a1f03be4a5f68.tar.gz nextcloud-server-247fbb55384061c10d53f2ea173a1f03be4a5f68.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 faa277285f6..ecfc91cfa8b 100644 --- a/apps/dav/appinfo/v1/caldav.php +++ b/apps/dav/appinfo/v1/caldav.php @@ -10,6 +10,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; @@ -98,6 +99,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(); |