diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2021-07-19 19:52:15 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2021-07-19 19:52:25 +0200 |
commit | 74fa8f3f8425d4ba2880fd37c7516dac6c6b981c (patch) | |
tree | 09ee50bd48ba87dc0b01288ad5a267ecb9c5fa94 /lib/private/Log | |
parent | df1ecbaa2771b3da13f37ee5fadcd647d2401845 (diff) | |
download | nextcloud-server-74fa8f3f8425d4ba2880fd37c7516dac6c6b981c.tar.gz nextcloud-server-74fa8f3f8425d4ba2880fd37c7516dac6c6b981c.zip |
Mask password for Redis and RedisCluster on connection failure
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private/Log')
-rw-r--r-- | lib/private/Log/ExceptionSerializer.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/Log/ExceptionSerializer.php b/lib/private/Log/ExceptionSerializer.php index bab22ab4aac..a8eedda90be 100644 --- a/lib/private/Log/ExceptionSerializer.php +++ b/lib/private/Log/ExceptionSerializer.php @@ -112,6 +112,12 @@ class ExceptionSerializer { Key::class => [ '__construct' ], + \Redis::class => [ + 'auth' + ], + \RedisCluster::class => [ + '__construct' + ] ]; private function editTrace(array &$sensitiveValues, array $traceLine): array { |