Skip to content

Commit

Permalink
Merge pull request #24546 from nextcloud/backport/24543/stable20
Browse files Browse the repository at this point in the history
[stable20] Don't log params of imagecreatefromstring
  • Loading branch information
rullzer authored Dec 15, 2020
2 parents e6e6725 + d4d009f commit 9305a00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/private/Log/ExceptionSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ class ExceptionSerializer {

// files_external: UserStoragesController
'update',

// Preview providers, don't log big data strings
'imagecreatefromstring',
];

public const methodsWithSensitiveParametersByClass = [
Expand Down

0 comments on commit 9305a00

Please sign in to comment.