]> source.dussan.org Git - nextcloud-server.git/commit
Limit size of properties to 2048 characters 26542/head
authorLukas Reschke <lukas@statuscode.ch>
Tue, 13 Apr 2021 15:24:20 +0000 (15:24 +0000)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 29 Apr 2021 18:45:11 +0000 (20:45 +0200)
commit4ec4a99869b1d5f9f6fbcc4643440b719d7c04a3
tree0c151fc86ca88213da8b78f6e5d3539f7799f867
parentc8374de7eb3d1c0191fe6e2d2ce21571c2070977
Limit size of properties to 2048 characters

It is unreasonable to expect that one of these fields would be longer
than 2048 characters. Whilst some have definitely lower limits (such as
for phone numbers or domain names), a upper bound as sanity check makes
sense.

Backport of https://github.com/nextcloud/server/pull/26433

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
lib/private/Accounts/AccountManager.php