From fabb330a69efbb14f7b7b8fec0181ba714e46a81 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 9 Jan 2024 12:50:15 +0100 Subject: fix(systemreport): Mark more configs as sensitive Signed-off-by: Joas Schilling --- lib/private/AppConfig.php | 3 +++ lib/private/SystemConfig.php | 1 + 2 files changed, 4 insertions(+) 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, -- cgit v1.2.3