aboutsummaryrefslogtreecommitdiff
path: root/src/zenremotestore
diff options
context:
space:
mode:
authorzousar <[email protected]>2026-03-17 23:44:19 -0600
committerzousar <[email protected]>2026-03-17 23:44:19 -0600
commited8ef5f2ded97d34f0d1bd4a45eca65a73e75eb5 (patch)
tree3db6aa71914289a45b7c449fe735d044f8af893d /src/zenremotestore
parentAdd tests for long path handling in project store (diff)
downloadzen-ed8ef5f2ded97d34f0d1bd4a45eca65a73e75eb5.tar.xz
zen-ed8ef5f2ded97d34f0d1bd4a45eca65a73e75eb5.zip
Fix long path handling for project store
Diffstat (limited to 'src/zenremotestore')
-rw-r--r--src/zenremotestore/projectstore/remoteprojectstore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenremotestore/projectstore/remoteprojectstore.cpp b/src/zenremotestore/projectstore/remoteprojectstore.cpp
index 8ba2397ff..1a9dc10ef 100644
--- a/src/zenremotestore/projectstore/remoteprojectstore.cpp
+++ b/src/zenremotestore/projectstore/remoteprojectstore.cpp
@@ -488,6 +488,7 @@ namespace remotestore_impl {
{
std::string_view ServerPath = View["serverpath"sv].AsString();
std::filesystem::path FilePath = (Project.RootDir / ServerPath).make_preferred();
+ MakeSafeAbsolutePathInPlace(FilePath);
if (!IsFile(FilePath))
{
remotestore_impl::ReportMessage(