Przeglądaj źródła

FindEntries will now properly handle directory path without backslash termination

Tal Aloni 8 lat temu
rodzic
commit
e597bd082a

+ 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)
                 {