Skip to content

Commit 991aca1

Browse files
authored
Merge pull request #36936 from nextcloud/fix/treat-text-session-params-as-sensitive
fix: treat text app session parameters as sensitive values
2 parents 416efc1 + 95a674e commit 991aca1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

lib/private/Log/ExceptionSerializer.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,16 @@ class ExceptionSerializer {
100100

101101
// Preview providers, don't log big data strings
102102
'imagecreatefromstring',
103+
104+
// text: PublicSessionController, SessionController and ApiService
105+
'create',
106+
'close',
107+
'push',
108+
'sync',
109+
'updateSession',
110+
'mention',
111+
'loginSessionUser',
112+
103113
];
104114

105115
/** @var SystemConfig */

0 commit comments

Comments
 (0)