summaryrefslogtreecommitdiffstats
path: root/lib
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:31:29 +0100
commitfabb330a69efbb14f7b7b8fec0181ba714e46a81 (patch)
treeb6f2be3a33b7ead87e2fa998f0d905991fbb253b /lib
parente2056a1de95dda2d7d1824e6b050e9369a048ca6 (diff)
downloadnextcloud-server-fabb330a69efbb14f7b7b8fec0181ba714e46a81.tar.gz
nextcloud-server-fabb330a69efbb14f7b7b8fec0181ba714e46a81.zip
fix(systemreport): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-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 96fa6bf7467..3b5f0ca6b5b 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,