From e597bd082a9f3cb02eca92e6ae04e3d96cd5a33a Mon Sep 17 00:00:00 2001 From: Tal Aloni Date: Wed, 1 Feb 2017 23:17:21 +0200 Subject: [PATCH] FindEntries will now properly handle directory path without backslash termination --- SMBLibrary/Server/Helpers/NTFileSystemHelper.Find.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/SMBLibrary/Server/Helpers/NTFileSystemHelper.Find.cs b/SMBLibrary/Server/Helpers/NTFileSystemHelper.Find.cs index d2150bd..1c55fee 100644 --- a/SMBLibrary/Server/Helpers/NTFileSystemHelper.Find.cs +++ b/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) {