From 77e48b35878bc21c544537705f46d1b99f390e1d Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Tue, 2 Jul 2013 12:07:08 +0100 Subject: [PATCH] fetcher git: Quote paths passed to openssl. #1315 --- SparkleLib/Git/SparkleFetcherGit.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SparkleLib/Git/SparkleFetcherGit.cs b/SparkleLib/Git/SparkleFetcherGit.cs index e913907c..760a700e 100755 --- a/SparkleLib/Git/SparkleFetcherGit.cs +++ b/SparkleLib/Git/SparkleFetcherGit.cs @@ -263,7 +263,7 @@ namespace SparkleLib.Git { process.StartInfo.FileName = "openssl"; process.StartInfo.Arguments = "enc -d -aes-256-cbc -base64 -S " + this.crypto_salt + - " -pass pass:\"" + password + "\" -in " + password_check_file_path; + " -pass pass:\"" + password + "\" -in \"" + password_check_file_path + "\""; SparkleLogger.LogInfo ("Cmd | " + System.IO.Path.GetFileName (process.StartInfo.WorkingDirectory), System.IO.Path.GetFileName (process.StartInfo.FileName) + " " + process.StartInfo.Arguments);