Skip to content

Commit

Permalink
Merge pull request #36936 from nextcloud/fix/treat-text-session-param…
Browse files Browse the repository at this point in the history
…s-as-sensitive

fix: treat text app session parameters as sensitive values
  • Loading branch information
juliusknorr authored Mar 1, 2023
2 parents 416efc1 + 95a674e commit 991aca1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/private/Log/ExceptionSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ class ExceptionSerializer {

// Preview providers, don't log big data strings
'imagecreatefromstring',

// text: PublicSessionController, SessionController and ApiService
'create',
'close',
'push',
'sync',
'updateSession',
'mention',
'loginSessionUser',

];

/** @var SystemConfig */
Expand Down

0 comments on commit 991aca1

Please sign in to comment.