diff options
author | Joas Schilling <coding@schilljs.com> | 2024-01-09 12:50:15 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2024-01-17 10:30:43 +0100 |
commit | f7f94bf919039d8a6a969a301fafbd42203af1d8 (patch) | |
tree | 51d22a2cfa593da3690ee75b50d659760fbf2c02 | |
parent | ee0f4f067dafe76b4e62611d85437e490c16e405 (diff) | |
download | nextcloud-server-f7f94bf919039d8a6a969a301fafbd42203af1d8.tar.gz nextcloud-server-f7f94bf919039d8a6a969a301fafbd42203af1d8.zip |
fix(systemreport): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/private/AppConfig.php | 3 | ||||
-rw-r--r-- | lib/private/SystemConfig.php | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index 79c650705b2..f92abb2caad 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -109,6 +109,9 @@ class AppConfig implements IAppConfig { 'notify_push' => [ '/^cookie$/', ], + 'serverinfo' => [ + '/^token$/', + ], 'spreed' => [ '/^bridge_bot_password$/', '/^hosted-signaling-server-(.*)$/', diff --git a/lib/private/SystemConfig.php b/lib/private/SystemConfig.php index c104f001809..bba74e96490 100644 --- a/lib/private/SystemConfig.php +++ b/lib/private/SystemConfig.php @@ -55,6 +55,7 @@ class SystemConfig { 'secret' => true, 'updater.secret' => true, 'trusted_proxies' => true, + 'preview_imaginary_url' => true, 'proxyuserpwd' => true, 'sentry.dsn' => true, 'sentry.public-dsn' => true, |