Merge pull request #28053 from nextcloud/backport/28051/stable22

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

View file

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