From f2879b58e2b8ceff1c865f17ebd53d89242e3d84 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 11 Dec 2024 11:28:29 -0500 Subject: Quote destination path --- src/lib/core/artifactory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/core/artifactory.c b/src/lib/core/artifactory.c index 0cd3b18..eedaf43 100644 --- a/src/lib/core/artifactory.c +++ b/src/lib/core/artifactory.c @@ -325,7 +325,7 @@ int jfrog_cli_rt_download(struct JFRT_Auth *auth, struct JFRT_Download *ctx, cha return -1; } - snprintf(cmd, sizeof(cmd) - 1, "%s '%s' %s", args, repo_path, dest ? dest : ""); + snprintf(cmd, sizeof(cmd) - 1, "%s '%s' '%s'", args, repo_path, dest ? dest : ""); guard_free(args); guard_strlist_free(&arg_map); -- cgit