Skip to content

Commit

Permalink
Escape semicolon in property values (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
slang25 authored May 13, 2024
1 parent 49151d4 commit e1c24ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Buildalyzer/ProjectAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ private string GetCommand(
{
argumentsList.Add(
propertyArgStart
+ $":{string.Join(";", effectiveGlobalProperties.Select(x => $"{x.Key}={FormatArgument(x.Value)}"))}");
+ $":{string.Join(";", effectiveGlobalProperties.Select(x => $"{x.Key}={FormatArgument(x.Value).Replace(";", "%3B")}"))}");
}

// Get the logger arguments (/l)
Expand Down

0 comments on commit e1c24ec

Please sign in to comment.