Skip to content

Commit

Permalink
SECURITY-2931
Browse files Browse the repository at this point in the history
  • Loading branch information
julieheard committed Feb 8, 2023
1 parent 7b2bd25 commit ebfb974
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ img.cartoon {width: 36px; display:inline}
<td>${project.name}</td>
</tr>
<tr>
<th>Build ${build.displayName}:</th>
<th>Build ${hudson.Util.xmlEscape(build.displayName)}:</th>
<td><a
href="${rooturl}${build.url}">${rooturl}${build.url}</a></td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
</tr>
<tr>
<td>Cause:</td>
<td><% build.causes.each() { cause -> %> ${cause.shortDescription} <% } %></td>
<td><% build.causes.each() { cause -> %> ${hudson.Util.xmlEscape(cause.shortDescription)} <% } %></td>
</tr>
</table>
<br/>
Expand Down Expand Up @@ -208,7 +208,7 @@
junitResult -> junitResult.getChildren().each {
packageResult -> %>
<tr>
<td>${packageResult.getName()}</td>
<td>${hudson.Util.xmlEscape(packageResult.getName())}</td>
<td>${packageResult.getFailCount()}</td>
<td>${packageResult.getPassCount()}</td>
<td>${packageResult.getSkipCount()}</td>
Expand All @@ -218,15 +218,15 @@
test -> %>
<tr>
<td class="test test-fixed" colspan="5">
${test.getFullName()} ${test.getStatus()}
${hudson.Util.xmlEscape(test.getFullName())} ${test.getStatus()}
</td>
</tr>
<% } %>
<% packageResult.getFailedTests().sort({a,b -> a.getAge() <=> b.getAge()}).each{
failed_test -> %>
<tr>
<td class="test test-failed" colspan="5">
${failed_test.getFullName()} (Age: ${failed_test.getAge()})
${hudson.Util.xmlEscape(failed_test.getFullName())} (Age: ${failed_test.getAge()})
</td>
</tr>
<% }
Expand Down

0 comments on commit ebfb974

Please sign in to comment.