aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Log
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2021-07-19 19:52:15 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2021-07-19 19:52:25 +0200
commit74fa8f3f8425d4ba2880fd37c7516dac6c6b981c (patch)
tree09ee50bd48ba87dc0b01288ad5a267ecb9c5fa94 /lib/private/Log
parentdf1ecbaa2771b3da13f37ee5fadcd647d2401845 (diff)
downloadnextcloud-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.php6
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 {