Merge pull request #24546 from nextcloud/backport/24543/stable20

[stable20] Don't log params of imagecreatefromstring
This commit is contained in:
Roeland Jago Douma 2020-12-15 16:36:00 +01:00 committed by GitHub
commit 9305a00414
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 = [