aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2024-07-11 10:56:22 +0200
committerGitHub <noreply@github.com>2024-07-11 10:56:22 +0200
commitee8872d333ccf6a939fe699d55d7bfb3e58abbe8 (patch)
treec89f1f77eea77003831b86551b6e02e6674a750c /apps/dav/appinfo
parente9b18f78a8c2f207d740b6f8f996aa1d7ed4b42a (diff)
parentbb603b23f3d066ec743ede279cd9c8d7af9ae0ae (diff)
downloadnextcloud-server-ee8872d333ccf6a939fe699d55d7bfb3e58abbe8.tar.gz
nextcloud-server-ee8872d333ccf6a939fe699d55d7bfb3e58abbe8.zip
Merge pull request #46421 from nextcloud/backport/46315/stable28
[stable28] fix(caldav): limit vevent size
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/v1/caldav.php2
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();