Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f3f2869

Browse files
Merge pull request #52432 from nextcloud/backport/52424/stable30
[stable30] fix(config): Censor more app configs in system report
2 parents b67211e + c0072b8 commit f3f2869

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lib/private/AppConfig.php

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,6 +1440,9 @@ private function getSensitiveKeys(string $app): array {
14401440
'globalsiteselector' => [
14411441
'/^gss\.jwt\.key$/',
14421442
],
1443+
'gpgmailer' => [
1444+
'/^GpgServerKey$/',
1445+
],
14431446
'integration_discourse' => [
14441447
'/^private_key$/',
14451448
'/^public_key$/',
@@ -1494,6 +1497,9 @@ private function getSensitiveKeys(string $app): array {
14941497
'/^client_secret$/',
14951498
'/^oauth_instance_url$/',
14961499
],
1500+
'maps' => [
1501+
'/^mapboxAPIKEY$/',
1502+
],
14971503
'notify_push' => [
14981504
'/^cookie$/',
14991505
],
@@ -1531,12 +1537,12 @@ private function getSensitiveKeys(string $app): array {
15311537
'/^slogan$/',
15321538
'/^url$/',
15331539
],
1534-
'user_ldap' => [
1535-
'/^(s..)?ldap_agent_password$/',
1536-
],
15371540
'twofactor_gateway' => [
15381541
'/^.*token$/',
15391542
],
1543+
'user_ldap' => [
1544+
'/^(s..)?ldap_agent_password$/',
1545+
],
15401546
'user_saml' => [
15411547
'/^idp-x509cert$/',
15421548
],

0 commit comments

Comments
 (0)