diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-07-19 22:34:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 22:34:27 +0200 |
commit | 5579aaa7cb18b8d4832d831c20d70fb4d5189e66 (patch) | |
tree | 09ee50bd48ba87dc0b01288ad5a267ecb9c5fa94 | |
parent | df1ecbaa2771b3da13f37ee5fadcd647d2401845 (diff) | |
parent | 74fa8f3f8425d4ba2880fd37c7516dac6c6b981c (diff) | |
download | nextcloud-server-5579aaa7cb18b8d4832d831c20d70fb4d5189e66.tar.gz nextcloud-server-5579aaa7cb18b8d4832d831c20d70fb4d5189e66.zip |
Merge pull request #28051 from nextcloud/bug/noid/dont-log-redis-password
Mask password for Redis and RedisCluster on connection failure
-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 { |