diff options
author | provokateurin <kate@provokateurin.de> | 2025-03-10 09:52:32 +0100 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2025-03-10 09:52:32 +0100 |
commit | e9e67cbc50d0b1efb02a734b4c858b32ef8832c0 (patch) | |
tree | 6746bfcb55ddc8f927d310929a91b41645e86316 /apps/files_external/lib/Lib/Storage | |
parent | 78b31ca00f31cea436c6ae00e7161deb95840a31 (diff) | |
download | nextcloud-server-e9e67cbc50d0b1efb02a734b4c858b32ef8832c0.tar.gz nextcloud-server-e9e67cbc50d0b1efb02a734b4c858b32ef8832c0.zip |
fix(files_external): Stop building path twice when checking if file exists on case insensitive SMB storagefix/files_external/smb-case-insensitive-path-building
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_external/lib/Lib/Storage')
-rw-r--r-- | apps/files_external/lib/Lib/Storage/SMB.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/SMB.php b/apps/files_external/lib/Lib/Storage/SMB.php index f08401f73c5..fc1f9b9ecd1 100644 --- a/apps/files_external/lib/Lib/Storage/SMB.php +++ b/apps/files_external/lib/Lib/Storage/SMB.php @@ -627,7 +627,7 @@ class SMB extends Common implements INotifyStorage { // Case sensitive filesystem doesn't matter for root directory if ($this->caseSensitive === false && $path !== '') { $filename = basename($path); - $siblings = $this->getDirectoryContent(dirname($this->buildPath($path))); + $siblings = $this->getDirectoryContent(dirname($path)); foreach ($siblings as $sibling) { if ($sibling['name'] === $filename) { return true; |