mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix bug 63357
This commit is contained in:
@ -40,7 +40,11 @@ public:
|
|||||||
std::wstring GetHeadPath(const std::wstring& sFile)
|
std::wstring GetHeadPath(const std::wstring& sFile)
|
||||||
{
|
{
|
||||||
std::wstring sFullPath = m_sAliasDirectory + L"/" + sFile;
|
std::wstring sFullPath = m_sAliasDirectory + L"/" + sFile;
|
||||||
sFullPath = L"/" + NSSystemPath::NormalizePath(sFullPath);
|
NSSystemPath::NormalizePath(sFullPath);
|
||||||
|
|
||||||
|
if (!sFullPath.empty() && '/' != sFullPath[0])
|
||||||
|
sFullPath = L"/" + sFullPath;
|
||||||
|
|
||||||
return sFullPath;
|
return sFullPath;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user