Skip to content

Commit 3bd8bff

Browse files
authored
Merge pull request #28053 from nextcloud/backport/28051/stable22
[stable22] Mask password for Redis and RedisCluster on connection failure
2 parents 9c13098 + bdcf22e commit 3bd8bff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/private/Log/ExceptionSerializer.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ public function __construct(SystemConfig $systemConfig) {
112112
Key::class => [
113113
'__construct'
114114
],
115+
\Redis::class => [
116+
'auth'
117+
],
118+
\RedisCluster::class => [
119+
'__construct'
120+
]
115121
];
116122

117123
private function editTrace(array &$sensitiveValues, array $traceLine): array {

0 commit comments

Comments
 (0)