Merge pull request #21486 from nextcloud/backport/21482/stable18

[stable18] Don't log Keys
This commit is contained in:
Roeland Jago Douma 2020-06-21 09:19:25 +02:00 committed by GitHub
commit 2cfb7172a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,7 @@ namespace OC\Log;
use OC\Core\Controller\SetupController;
use OC\HintException;
use OC\Security\IdentityProof\Key;
use OC\Setup;
class ExceptionSerializer {
@ -94,7 +95,10 @@ class ExceptionSerializer {
],
Setup::class => [
'install'
]
],
Key::class => [
'__construct'
],
];
private function editTrace(array &$sensitiveValues, array $traceLine): array {