Explorar o código

FindEntries will now properly handle directory path without backslash termination

Tal Aloni %!s(int64=8) %!d(string=hai) anos
pai
achega
e597bd082a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)
                 {