Skip to content

Commit e1c24ec

Browse files
authored
Escape semicolon in property values (Buildalyzer#273)
1 parent 49151d4 commit e1c24ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Buildalyzer/ProjectAnalyzer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ private string GetCommand(
250250
{
251251
argumentsList.Add(
252252
propertyArgStart
253-
+ $":{string.Join(";", effectiveGlobalProperties.Select(x => $"{x.Key}={FormatArgument(x.Value)}"))}");
253+
+ $":{string.Join(";", effectiveGlobalProperties.Select(x => $"{x.Key}={FormatArgument(x.Value).Replace(";", "%3B")}"))}");
254254
}
255255

256256
// Get the logger arguments (/l)

0 commit comments

Comments
 (0)