Merge pull request #28055 from nextcloud/backport/28051/stable21

[stable21] Mask password for Redis and RedisCluster on connection failure
This commit is contained in:
kesselb 2021-07-20 22:57:56 +02:00 committed by GitHub
commit 2b3dc310aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,6 +113,12 @@ class ExceptionSerializer {
Key::class => [
'__construct'
],
\Redis::class => [
'auth'
],
\RedisCluster::class => [
'__construct'
]
];
private function editTrace(array &$sensitiveValues, array $traceLine): array {