Browse Source

Mask password for Redis and RedisCluster on connection failure

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/28051/head
Daniel Kesselberg 5 years ago
parent
commit
74fa8f3f84
No known key found for this signature in database GPG Key ID: 36E3664E099D0614
  1. 6
      lib/private/Log/ExceptionSerializer.php

6
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 {

Loading…
Cancel
Save