aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-01-09 12:50:15 +0100
committerJoas Schilling <coding@schilljs.com>2024-01-09 13:08:27 +0100
commit6294f0f4bc81318f1af38308367d4bf87ecd6877 (patch)
tree6e3bf2a317d2ce871a4af12312f466776e375806 /lib
parentdc2066bc26d9d92ddceaf15f9be447a5dbffb8ca (diff)
downloadnextcloud-server-6294f0f4bc81318f1af38308367d4bf87ecd6877.tar.gz
nextcloud-server-6294f0f4bc81318f1af38308367d4bf87ecd6877.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 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,