mirror of
https://github.com/winscp/winscp.git
synced 2026-10-24 02:28:55 +03:00
Bug 1661: It is not possible to open S3 folder from command-line/URL or in scripting when path ends with slash
https://winscp.net/tracker/1661 Source commit: 1a327859858352284c82d1f1307e6b5caf71343d
This commit is contained in:
@@ -816,7 +816,7 @@ void TS3FileSystem::DoListBucket(
|
||||
void TS3FileSystem::ReadDirectoryInternal(
|
||||
const UnicodeString & APath, TRemoteFileList * FileList, int MaxKeys, const UnicodeString & FileName)
|
||||
{
|
||||
UnicodeString Path = AbsolutePath(APath, false);
|
||||
UnicodeString Path = UnixExcludeTrailingBackslash(AbsolutePath(APath, false));
|
||||
if (IsUnixRootPath(Path))
|
||||
{
|
||||
DebugAssert(FileList != NULL);
|
||||
|
||||
Reference in New Issue
Block a user