From e6c723e9faf8e8e2a11336689ae48262686fc702 Mon Sep 17 00:00:00 2001 From: eidheim Date: Tue, 2 Jun 2020 13:41:47 +0200 Subject: [PATCH] Corrected unescaped file path in Ctags constructor --- src/ctags.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ctags.cpp b/src/ctags.cpp index 60082dc..c9eb378 100644 --- a/src/ctags.cpp +++ b/src/ctags.cpp @@ -28,7 +28,7 @@ Ctags::Ctags(const boost::filesystem::path &path, bool enable_scope, bool enable } else { project_path = path.parent_path(); - command = Config::get().project.ctags_command + fields + " --sort=foldcase -I \"override noexcept\" -f - " + path.string(); + command = Config::get().project.ctags_command + fields + " --sort=foldcase -I \"override noexcept\" -f - " + filesystem::escape_argument(path.string()); } std::stringstream stdin_stream;