From bd06118b2980f3a9bce11949483f99f3d86ce739 Mon Sep 17 00:00:00 2001 From: Patrick Wuttke Date: Sun, 21 Sep 2025 12:34:38 +0200 Subject: [PATCH] Normalize paths created by the RelativeFileSystemAdapter. Fixes issues with trailin "/.". --- source/mijin/virtual_filesystem/relative.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/mijin/virtual_filesystem/relative.hpp b/source/mijin/virtual_filesystem/relative.hpp index 5a024db..795d956 100644 --- a/source/mijin/virtual_filesystem/relative.hpp +++ b/source/mijin/virtual_filesystem/relative.hpp @@ -97,7 +97,7 @@ fs::path RelativeFileSystemAdapter::appendPath(const fs::path& other) else { combinedPath /= other; } - return combinedPath; + return combinedPath.lexically_normal(); } namespace vfs_pipe