aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2024-01-11 12:33:45 +0100
committerGitHub <noreply@github.com>2024-01-11 12:33:45 +0100
commitcfd1cc54c1a8d803841e7455da92fb3753ee818a (patch)
tree650611dc75bed10cb0beaba6efa3e277395052fc /lib
parent14180c576f5df13fae20ec401748e1f22cdf6867 (diff)
parent4e8e598662434a133bc1f0d2b034dfc171c81eb9 (diff)
downloadnextcloud-server-cfd1cc54c1a8d803841e7455da92fb3753ee818a.tar.gz
nextcloud-server-cfd1cc54c1a8d803841e7455da92fb3753ee818a.zip
Merge pull request #42658 from nextcloud/bugfix/42530/mark-more-configs-as-sensitive
fix(systemreport): Mark more configs as sensitive
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,