mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-10 18:43:54 -06:00
Helix: Decode HTML entities in the test comment field (#15141
I have observed the test comment coming back from Helix with `"` and friends in it. It ends badly as you might imagine. This unescape will be a no-op if the data is already well-formed.
This commit is contained in:
parent
ea44375f6d
commit
90bbd2927d
@ -70,7 +70,7 @@ foreach ($testRun in $testRuns.value)
|
||||
|
||||
foreach ($testResult in $testResults.value)
|
||||
{
|
||||
$info = ConvertFrom-Json $testResult.comment
|
||||
$info = ConvertFrom-Json ([System.Web.HttpUtility]::HtmlDecode($testResult.comment))
|
||||
$helixJobId = $info.HelixJobId
|
||||
$helixWorkItemName = $info.HelixWorkItemName
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user