Skip to content

Commit

Permalink
Ensure HTML is properly escaped for all user-provided text properties (
Browse files Browse the repository at this point in the history
  • Loading branch information
falsewasnottrue authored Dec 22, 2024
1 parent 3f31306 commit c9e77b9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@
<td>${context_icon}<span style="display:none">${context_label}</span>
</td>
<td>${scenario.stepCount}</td>
<td>${scenario.allStepsText}</td>
<td><#outputformat 'HTML'>${scenario.allStepsText}</#outputformat></td>
<td data-order="${scenario.timestamp}">${scenario.formattedStartTime}</td>
<td>${scenario.formattedDuration}</td>
<td>${outcome_icon} <span
Expand Down Expand Up @@ -658,7 +658,7 @@
<#list evidence as evidenceRecord>
<tr>
<td>${evidenceRecord.scenario}</td>
<td>${evidenceRecord.title}</td>
<td><#outputformat 'HTML'>${evidenceRecord.title}</#outputformat></td>
<td>${evidenceRecord.detailsLink}</td>
</tr>
</#list>
Expand Down

0 comments on commit c9e77b9

Please sign in to comment.