mirror of
https://github.com/nextcloud/server.git
synced 2026-03-18 16:45:22 -04:00
Merge pull request #43522 from nextcloud/backport/43349/stable27
This commit is contained in:
commit
1603a67fe2
1 changed files with 2 additions and 1 deletions
|
|
@ -676,7 +676,8 @@ class SMB extends Common implements INotifyStorage {
|
|||
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue