Skip to content

Commit

Permalink
Fix bug which strips quotation marks from cmd args
Browse files Browse the repository at this point in the history
If certificate name had whitespace the tool didn't add quotation marks
along them.
  • Loading branch information
leszekrogowski committed May 9, 2016
1 parent ce38d2a commit 9e9bec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RemoteSignTool/RemoteSignTool.Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static int Main(string[] args)
for (int j = i; j <= i + supportedSignOptions[args[i]]; j++)
{
// Save supported sign subcommands for furture use
signSubcommands.Add(args[j]);
signSubcommands.Add(args[j].Any(char.IsWhiteSpace) ? string.Format("\"{0}\"", args[j]) : args[j]);
}

i += supportedSignOptions[args[i]];
Expand Down

0 comments on commit 9e9bec5

Please sign in to comment.