fetcher git: Quote paths passed to openssl. #1315

This commit is contained in:
Hylke Bons 2013-07-02 12:07:08 +01:00
parent ebfcd0ffd4
commit 77e48b3587

View file

@ -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);