summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2024-01-17 13:26:24 +0100
committerGitHub <noreply@github.com>2024-01-17 13:26:24 +0100
commit1839d0ca87c30f5790a0a77c86593dba0daf458c (patch)
tree66e0974790b9c6c3b5392dc65baf43b74bbf2db4
parent831c144213f1dc2b7e48d10d56cea6854398f9c8 (diff)
parentfabb330a69efbb14f7b7b8fec0181ba714e46a81 (diff)
downloadnextcloud-server-1839d0ca87c30f5790a0a77c86593dba0daf458c.tar.gz
nextcloud-server-1839d0ca87c30f5790a0a77c86593dba0daf458c.zip
Merge pull request #42873 from nextcloud/backport/42658/stable27
[stable27] fix(systemreport): Mark more configs as sensitive
-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,