Skip to content

Commit

Permalink
Merge pull request #24543 from nextcloud/bugfix/noid/dont-log-image-a…
Browse files Browse the repository at this point in the history
…s-string

Don't log params of imagecreatefromstring
  • Loading branch information
MorrisJobke authored Dec 4, 2020
2 parents 32ded87 + 9b3361c commit 3c62d2b
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 3c62d2b

Please sign in to comment.