Skip to content

Commit

Permalink
Merge pull request #43521 from nextcloud/backport/43349/stable26
Browse files Browse the repository at this point in the history
  • Loading branch information
Altahrim authored Feb 12, 2024
2 parents 33433a7 + 8f79168 commit 0be4593
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/files_external/lib/Lib/Storage/SMB.php
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,8 @@ public function mkdir($path) {

public function file_exists($path) {
try {
if ($this->caseSensitive === false) {
// Case sensitive filesystem doesn't matter for root directory
if ($this->caseSensitive === false && $path !== '') {
$filename = basename($path);
$siblings = $this->getDirectoryContent(dirname($this->buildPath($path)));
foreach ($siblings as $sibling) {
Expand Down

0 comments on commit 0be4593

Please sign in to comment.