Skip to content

Commit

Permalink
fix(User\Manager): Avoid future collisions with updater/audit logs
Browse files Browse the repository at this point in the history
Avoid future collisions for not yet created updater and audit log files (at least using default names).

Signed-off-by: Josh <josh.t.richards@gmail.com>
  • Loading branch information
joshtrichards committed May 6, 2024
1 parent 890c5b8 commit 4509a17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/private/User/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,8 @@ private function verifyUid(string $uid, bool $checkDataDirectory = false): bool
'.ocdata',
'owncloud.log',
'nextcloud.log',
'updater.log',
'audit.log',
$appdata], true)) {
return false;
}
Expand Down

0 comments on commit 4509a17

Please sign in to comment.