Ver código fonte

Merge pull request #20208 from nextcloud/smb-folder-contents-normalize-path

normalize smb path while listing folder contents
tags/v19.0.0beta1
John Molakvoæ 4 anos atrás
pai
commit
fa4162e86f
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      apps/files_external/lib/Lib/Storage/SMB.php

+ 1
- 1
apps/files_external/lib/Lib/Storage/SMB.php Ver arquivo

@@ -207,7 +207,7 @@ class SMB extends Common implements INotifyStorage {
*/
protected function getFolderContents($path) {
try {
$path = $this->buildPath($path);
$path = ltrim($this->buildPath($path), '/');
$files = $this->share->dir($path);
foreach ($files as $file) {
$this->statCache[$path . '/' . $file->getName()] = $file;

Carregando…
Cancelar
Salvar