Merge pull request #21485 from nextcloud/backport/21482/stable19

[stable19] Don't log Keys
This commit is contained in:
Roeland Jago Douma 2020-06-21 09:19:35 +02:00 committed by GitHub
commit adb5a80674
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

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