nextcloud/lib/private
Lukas Reschke 4ec4a99869 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>
2021-04-29 20:45:11 +02:00
..
Accounts Limit size of properties to 2048 characters 2021-04-29 20:45:11 +02:00
Activity Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
App Fix app fetcher php comparison to allow wider ranges 2021-01-27 14:51:54 +00:00
AppFramework Fix ratelimit template 2021-04-27 13:39:52 +00:00
Archive Update license headers for 19 2020-04-29 11:57:22 +02:00
Authentication Type the authentication listeners 2020-10-15 22:34:18 +00:00
Avatar Update license headers for 19 2020-04-29 11:57:22 +02:00
BackgroundJob Remove @suppress SqlInjectionChecker 2020-09-16 15:53:56 +02:00
Broadcast/Events Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Cache Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Calendar Update license headers for 19 2020-04-29 11:57:22 +02:00
Collaboration Show unique displayname context in the sharing input 2021-01-05 10:05:52 +01:00
Command Update license headers for 19 2020-04-29 11:57:22 +02:00
Comments Remove @suppress SqlInjectionChecker 2020-09-16 15:53:56 +02:00
Console Update license headers for 19 2020-04-29 11:57:22 +02:00
Contacts/ContactsMenu Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Dashboard Log an error if a dashboard widget loads longer than 1 second 2020-09-24 13:00:19 +00:00
DB change reconect wrapper to only check connection after inactivity 2021-02-09 16:30:59 +01:00
Diagnostics Update license headers for 19 2020-04-29 11:57:22 +02:00
DirectEditing Do not expose direct editing if no master key is available 2020-09-01 11:40:27 +02:00
Encryption Fix phpcs issues in encryption update 2021-04-01 07:56:20 +00:00
EventDispatcher Log deprecation notice of GenericEventWrapper just once 2021-02-05 10:17:16 +00:00
Federation [Fix #24682]: ensure federation cloud id is retruned if FN property not found 2020-12-21 22:59:43 +01:00
Files Fail when creating new files with an empty path 2021-04-28 10:06:03 +00:00
FullTextSearch private cannot be final 2021-04-26 07:08:14 +00:00
GlobalScale Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Group Merge pull request #22890 from nextcloud/techdebt/18680/help-static-code-analysis-understand-code 2020-09-17 08:51:20 +02:00
Hooks Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Http Use RFC-compliant URL encoding for cookies 2021-01-29 12:41:59 +00:00
IntegrityCheck Update license headers for 19 2020-04-29 11:57:22 +02:00
L10N Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
legacy Do not include non-required scripts on the upgrade page 2020-12-15 20:42:07 +00:00
Lock Remove @suppress SqlInjectionChecker 2020-09-16 15:53:56 +02:00
Lockdown also implement for FailedCache and NullCache 2021-03-16 16:18:03 +00:00
Log Log deprecation only as debug 2021-04-26 15:14:55 +00:00
Mail Fix vsprint parameter 2020-12-03 08:20:04 +00:00
Memcache ensure redis returns bool for hasKey 2021-04-20 08:36:55 +00:00
Migration Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Notification Allow notification apps to defer and flush the sending 2020-07-03 16:44:43 +02:00
OCS Update license headers for 19 2020-04-29 11:57:22 +02:00
Preview Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Remote Update license headers for 19 2020-04-29 11:57:22 +02:00
Repair Do not try to contact lookup server if not needed 2021-04-29 09:23:02 +02:00
RichObjectStrings Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Route Also unset the other possible unused paramters 2020-12-18 07:41:00 +00:00
Search use node search api for legacy file search endpoint 2021-03-24 16:01:17 +01:00
Security Explicitly check hex2bin input 2021-04-22 14:01:25 +02:00
Session Generate a new session id if the decrypting the session data fails 2020-12-04 11:55:31 +00:00
Settings Don't log "duplicate section" for the shared "connected-accounts" section 2020-09-23 11:03:50 +00:00
Setup Remove @suppress SqlInjectionChecker 2020-09-16 15:53:56 +02:00
Share Don't leave cursors open when tests fail 2020-11-10 14:18:02 +00:00
Share20 Fix empty password check for mail shares 2021-04-21 08:00:29 +02:00
Support Add notification for user limit 2020-12-02 17:24:44 +00:00
SystemTag The objectid is a string 2021-01-29 07:15:16 +00:00
Tagging Update license headers for 19 2020-04-29 11:57:22 +02:00
Template Do not allow to overwrite some variables 2021-04-27 13:39:53 +00:00
Updater Update license headers for 19 2020-04-29 11:57:22 +02:00
User dont allow creating users with __groupfolders as uid 2021-03-16 18:51:58 +00:00
UserStatus Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
AllConfig.php Remove unneeded isset check 2020-09-11 16:20:30 +02:00
AppConfig.php Fix updates of NULL appconfig values 2020-10-23 08:45:29 +00:00
CapabilitiesManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Color.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Config.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ContactsManager.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
DatabaseException.php Update license headers 2019-12-05 15:38:45 +01:00
DatabaseSetupException.php Update license headers 2019-12-05 15:38:45 +01:00
DateTimeFormatter.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
DateTimeZone.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ForbiddenException.php Update license headers 2019-12-05 15:38:45 +01:00
HintException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InitialStateService.php Log a warning if a "lazy" initial state loads longer than 1 second 2020-09-24 13:00:19 +00:00
Installer.php Allow to update to nightly 2020-08-07 13:51:39 +02:00
LargeFileHelper.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Log.php Avoid huge exception argument logging 2020-12-29 10:46:56 +00:00
MemoryInfo.php Update license headers for 19 2020-04-29 11:57:22 +02:00
NaturalSort.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NaturalSort_DefaultCollator.php Update license headers 2019-12-05 15:38:45 +01:00
NavigationManager.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
NeedsUpdateException.php Update license headers 2019-12-05 15:38:45 +01:00
NotSquareException.php Update license headers 2019-12-05 15:38:45 +01:00
PreviewManager.php Fix "misplaced variables" warning of Psalm in PHPDoc statements 2020-08-17 17:46:57 +02:00
PreviewNotAvailableException.php Update license headers 2019-12-05 15:38:45 +01:00
RedisFactory.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Repair.php Do not try to contact lookup server if not needed 2021-04-29 09:23:02 +02:00
RepairException.php Update license headers 2019-12-05 15:38:45 +01:00
Search.php Fix "misplaced variables" warning of Psalm in PHPDoc statements 2020-08-17 17:46:57 +02:00
Server.php Compare and store the login name via the event 2021-01-20 09:09:15 +01:00
ServerContainer.php Fix overwriteService() for apps 2020-07-28 09:38:43 +02:00
ServerNotAvailableException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServiceUnavailableException.php Update license headers 2019-12-05 15:38:45 +01:00
Setup.php Add htaccess exception for richdocumentscode_arm64 2020-09-17 08:55:15 +02:00
Streamer.php Only disable zip64 if the size is known 2020-09-01 15:01:12 +02:00
SubAdmin.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
SystemConfig.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
TagManager.php Don't leave cursors open when tests fail 2020-11-10 14:18:02 +00:00
Tags.php Don't leave cursors open when tests fail 2020-11-10 14:18:02 +00:00
TemplateLayout.php No need to check if there is an avatar available, because it is generated on the fly nowadays 2020-11-02 18:10:23 +00:00
TempManager.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Updater.php Make sure to do priority app upgrades first 2021-01-11 13:46:47 +00:00
URLGenerator.php cache baseurl in url generator 2021-03-10 19:38:41 +00:00