From a5f2f22c12d7770046b1f9c366b4accfe8d05c0c Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Fri, 1 Apr 2016 13:03:34 +0200 Subject: [PATCH] Sanitize more data in config report This sanitizes the following keys as well: - `proxyuserpwd` - `shared_secret` of `log.condition` - `license-key` - `password` of `redis` --- lib/private/systemconfig.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/private/systemconfig.php b/lib/private/systemconfig.php index d80d9067c0..449a2dc50b 100644 --- a/lib/private/systemconfig.php +++ b/lib/private/systemconfig.php @@ -44,7 +44,19 @@ class SystemConfig { 'secret' => true, 'updater.secret' => true, 'ldap_agent_password' => true, - 'objectstore' => ['arguments' => ['password' => true]], + 'proxyuserpwd' => true, + 'log.condition' => [ + 'shared_secret' => true, + ], + 'license-key' => true, + 'redis' => [ + 'password' => true, + ], + 'objectstore' => [ + 'arguments' => [ + 'password' => true, + ], + ], ]; /** @var Config */