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 authored and backportbot[bot] committed May 6, 2024
1 parent 8fea595 commit 7953538
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 @@ -744,6 +744,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 7953538

Please sign in to comment.