Fix from xiangguan.nan for avoiding invalid paths.

https://udn.unrealengine.com/questions/496880


#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 6152574 via CL 6155961 via CL 6177915
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 6213874 by andrew grant in Dev-VR branch]
This commit is contained in:
andrew grant
2019-05-01 18:27:32 -04:00
parent a628337de4
commit 56f323ddca

View File

@@ -532,7 +532,7 @@ void FProfilerClientManager::HandleServiceFileChunk(const FProfilerServiceFileCh
if(!ReceivedFileInfo)
{
const FString PathName = FPaths::ProfilingDir() + TEXT("UnrealStats/Received/");
const FString StatFilepath = PathName + FileChunk.Filename + StrTmp;
const FString StatFilepath = PathName + FPaths::GetCleanFilename((const FString&)FileChunk.Filename) + StrTmp;
UE_LOG(LogProfilerClient, Log, TEXT("Opening stats file for service-client sending: %s"), *StatFilepath);