]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(systemreport): Mark more configs as sensitive
authorJoas Schilling <coding@schilljs.com>
Tue, 9 Jan 2024 11:50:15 +0000 (12:50 +0100)
committerJoas Schilling <coding@schilljs.com>
Tue, 9 Jan 2024 12:08:27 +0000 (13:08 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/AppConfig.php
lib/private/SystemConfig.php

index 79c650705b23dd03bf9b71407f5c3d0ef9b48799..f92abb2caad1c2e91f7fb4fd4c4d2d8a6ea2faa3 100644 (file)
@@ -109,6 +109,9 @@ class AppConfig implements IAppConfig {
                'notify_push' => [
                        '/^cookie$/',
                ],
+               'serverinfo' => [
+                       '/^token$/',
+               ],
                'spreed' => [
                        '/^bridge_bot_password$/',
                        '/^hosted-signaling-server-(.*)$/',
index c104f001809169e3b428aa9e145f6f5477199ea9..bba74e9649058cf05cdd38322fec8d7cdf61ae72 100644 (file)
@@ -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,