From 74fa8f3f8425d4ba2880fd37c7516dac6c6b981c Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Mon, 19 Jul 2021 19:52:15 +0200 Subject: Mask password for Redis and RedisCluster on connection failure Signed-off-by: Daniel Kesselberg --- lib/private/Log/ExceptionSerializer.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/private/Log') 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 { -- cgit v1.2.3