Merge pull request #28051 from nextcloud/bug/noid/dont-log-redis-password

Mask password for Redis and RedisCluster on connection failure
This commit is contained in:
John Molakvoæ 2021-07-19 22:34:27 +02:00 committed by GitHub
commit 5579aaa7cb
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 {