diff options
author | SebastianKrupinski <krupinskis05@gmail.com> | 2024-06-28 10:37:24 -0400 |
---|---|---|
committer | SebastianKrupinski <krupinskis05@gmail.com> | 2024-07-04 16:42:09 -0400 |
commit | cb6c091e08979055c7b2187ac0994c16b049a078 (patch) | |
tree | 89e790fd319a33ceda82418562fbe3656307c5f0 /apps/dav/lib/Server.php | |
parent | 8ec53608b0b1f6fad1569933bc05b723bd2bd2fc (diff) | |
download | nextcloud-server-cb6c091e08979055c7b2187ac0994c16b049a078.tar.gz nextcloud-server-cb6c091e08979055c7b2187ac0994c16b049a078.zip |
fix(carddav): limit vcard size
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Diffstat (limited to 'apps/dav/lib/Server.php')
-rw-r--r-- | apps/dav/lib/Server.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php index bec76a03236..838c6002dca 100644 --- a/apps/dav/lib/Server.php +++ b/apps/dav/lib/Server.php @@ -16,6 +16,7 @@ use OCA\DAV\CardDAV\ImageExportPlugin; use OCA\DAV\CardDAV\MultiGetExportPlugin; use OCA\DAV\CardDAV\PhotoCache; use OCA\DAV\CardDAV\Security\CardDavRateLimitingPlugin; +use OCA\DAV\CardDAV\Validation\CardDavValidatePlugin; use OCA\DAV\Comments\CommentsPlugin; use OCA\DAV\Connector\Sabre\AnonymousOptionsPlugin; use OCA\DAV\Connector\Sabre\Auth; @@ -181,6 +182,7 @@ class Server { )); $this->server->addPlugin(\OCP\Server::get(CardDavRateLimitingPlugin::class)); + $this->server->addPlugin(\OCP\Server::get(CardDavValidatePlugin::class)); } // system tags plugins |