소스 검색

FindEntries will now properly handle directory path without backslash termination

Tal Aloni 8 년 전
부모
커밋
e597bd082a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      SMBLibrary/Server/Helpers/NTFileSystemHelper.Find.cs

+ 1 - 0
SMBLibrary/Server/Helpers/NTFileSystemHelper.Find.cs

@@ -82,6 +82,7 @@ namespace SMBLibrary.Server
             }
             else
             {
+                path = FileSystem.GetDirectoryPath(path);
                 entry = fileSystem.GetEntry(path + expression);
                 if (entry == null)
                 {