aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-01-09 12:50:15 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2024-01-17 10:30:43 +0100
commitf7f94bf919039d8a6a969a301fafbd42203af1d8 (patch)
tree51d22a2cfa593da3690ee75b50d659760fbf2c02
parentee0f4f067dafe76b4e62611d85437e490c16e405 (diff)
downloadnextcloud-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.php3
-rw-r--r--lib/private/SystemConfig.php1
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,