Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions appshell/appshell_extensions_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,10 @@ int32 ReadDir(ExtensionString path, CefRefPtr<CefListValue>& directoryContents)

path += '*';

// Convert to native path to ensure that FindFirstFile and FindNextFile
// function correctly for all paths including paths to a network drive.
ConvertToNativePath(path);

WIN32_FIND_DATA ffd;
HANDLE hFind = FindFirstFile(path.c_str(), &ffd);

Expand Down