Skip to content

Commit b5f22a4

Browse files
committed
SECURITY-1924, SECURITY-1925
1 parent 05f6b3d commit b5f22a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/resources/hudson/matrix/MatrixBuild/ajaxMatrix.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ THE SOFTWARE.
3636
</j:when>
3737
<j:otherwise>
3838
<a href="${p.nearestRunUrl}" class="model-link inside">
39-
<img src="${imagesURL}/24x24/${b.buildStatusUrl}" tooltip="${p.tooltip} ${it.number!=b.number?(it.isBuilding()?'- pending' : '- skipped'):''}" alt="${p.tooltip}" style="${it.number!=b.number?'opacity:0.5':''}" height="24" width="24"/>
39+
<img src="${imagesURL}/24x24/${b.buildStatusUrl}" tooltip="${h.xmlEscape(p.tooltip)} ${it.number!=b.number?(it.isBuilding()?'- pending' : '- skipped'):''}" alt="${p.tooltip}" style="${it.number!=b.number?'opacity:0.5':''}" height="24" width="24"/>
4040
<j:if test="${empty(o.x) and empty(o.y)}">
4141
${p.combination.toString(o.z)}
4242
</j:if>

src/main/resources/lib/hudson/matrix-project/matrix.jelly

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ THE SOFTWARE.
6363
</j:if>
6464
<j:forEach begin="1" end="${o.repeatX(loop.index)}">
6565
<j:forEach var="v" items="${x.values}">
66-
<td class="matrix-header" colspan="${o.width(loop.index)}" tooltip="${x.name}">
66+
<td class="matrix-header" colspan="${o.width(loop.index)}" tooltip="${h.xmlEscape(x.name)}">
6767
${v}
6868
</td>
6969
</j:forEach>
@@ -76,7 +76,7 @@ THE SOFTWARE.
7676
<tr>
7777
<j:forEach var="y" items="${o.y}" varStatus="loop">
7878
<j:if test="${r.drawYHeader(loop.index)!=null}">
79-
<td class="matrix-leftcolumn" rowspan="${o.height(loop.index)}" tooltip="${y.name}">
79+
<td class="matrix-leftcolumn" rowspan="${o.height(loop.index)}" tooltip="${h.xmlEscape(y.name)}">
8080
${r.drawYHeader(loop.index)}
8181
</td>
8282
</j:if>

0 commit comments

Comments
 (0)