fetcher git: Quote paths passed to openssl. #1315
This commit is contained in:
parent
c1db42f96f
commit
f257181e3b
|
@ -263,7 +263,7 @@ namespace SparkleLib.Git {
|
||||||
|
|
||||||
process.StartInfo.FileName = "openssl";
|
process.StartInfo.FileName = "openssl";
|
||||||
process.StartInfo.Arguments = "enc -d -aes-256-cbc -base64 -S " + this.crypto_salt +
|
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),
|
SparkleLogger.LogInfo ("Cmd | " + System.IO.Path.GetFileName (process.StartInfo.WorkingDirectory),
|
||||||
System.IO.Path.GetFileName (process.StartInfo.FileName) + " " + process.StartInfo.Arguments);
|
System.IO.Path.GetFileName (process.StartInfo.FileName) + " " + process.StartInfo.Arguments);
|
||||||
|
|
Loading…
Reference in a new issue