Don't log params of imagecreatefromstring

To prevent flooding the log with actual image data.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
Vincent Petry 2020-12-04 09:22:30 +01:00 committed by backportbot[bot]
parent a53871f629
commit d4d009fc8e
1 changed files with 3 additions and 0 deletions

View File

@ -86,6 +86,9 @@ class ExceptionSerializer {
// files_external: UserStoragesController // files_external: UserStoragesController
'update', 'update',
// Preview providers, don't log big data strings
'imagecreatefromstring',
]; ];
public const methodsWithSensitiveParametersByClass = [ public const methodsWithSensitiveParametersByClass = [