From bde78decc2604c4e5013b8231c7b767866429c31 Mon Sep 17 00:00:00 2001 From: Johannes Schlichenmaier Date: Sun, 29 Oct 2017 23:37:29 +0100 Subject: [PATCH] Extended list of sensitive configuration values In accordance with the issuetemplate app issue: https://github.com/nextcloud/issuetemplate/issues/27 Signed-off-by: Johannes Schlichenmaier --- lib/private/SystemConfig.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/private/SystemConfig.php b/lib/private/SystemConfig.php index 3610486140..91afbeb896 100644 --- a/lib/private/SystemConfig.php +++ b/lib/private/SystemConfig.php @@ -37,22 +37,30 @@ class SystemConfig { /** @var array */ protected $sensitiveValues = [ + 'instanceid' => true, + 'trusted_domains' => true, + 'datadirectory' => true, + 'overwrite.cli.url' => true, 'dbname' => true, + 'dbhost' => true, 'dbpassword' => true, 'dbuser' => true, 'mail_from_address' => true, 'mail_domain' => true, + 'mail_smtphost' => true, 'mail_smtpname' => true, 'mail_smtppassword' => true, 'passwordsalt' => true, 'secret' => true, 'updater.secret' => true, + 'trusted_proxies' => true, 'proxyuserpwd' => true, 'log.condition' => [ 'shared_secret' => true, ], 'license-key' => true, 'redis' => [ + 'host' => true, 'password' => true, ], 'objectstore' => [