From 1b4deb11ec648146aa7de912e2ed79f59b8d6c6d Mon Sep 17 00:00:00 2001 From: Luciano Iam Date: Sun, 12 Apr 2020 10:12:58 +0200 Subject: [PATCH] WebSockets: use canonical paths in index.json --- libs/surfaces/websockets/resources.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/surfaces/websockets/resources.cc b/libs/surfaces/websockets/resources.cc index e565da0469..b97935e48d 100644 --- a/libs/surfaces/websockets/resources.cc +++ b/libs/surfaces/websockets/resources.cc @@ -80,7 +80,7 @@ ServerResources::scan () { std::stringstream ss; - std::string builtin_dir_str = builtin_dir (); + std::string builtin_dir_str = PBD::canonical_path (builtin_dir ()); SurfaceManifestVector builtin = read_manifests (builtin_dir_str); ss << "[{" @@ -96,7 +96,7 @@ ServerResources::scan () } } - std::string user_dir_str = user_dir (); + std::string user_dir_str = PBD::canonical_path (user_dir ()); SurfaceManifestVector user = read_manifests (user_dir_str); ss << "]},{"