Skip to content

Commit 99d2978

Browse files
SECURITY-2692
1 parent 9ff13af commit 99d2978

File tree

2 files changed

+4
-2
lines changed
  • src/main/resources/hudson/plugins/promoted_builds/parameters

2 files changed

+4
-2
lines changed

src/main/resources/hudson/plugins/promoted_builds/parameters/PromotedBuildParameterDefinition/index.jelly

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ THE SOFTWARE.
2626
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"
2727
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
2828
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
29-
<f:entry title="${it.name}" description="${it.description}">
29+
<j:set var="escapeEntryTitleAndDescription" value="false"/>
30+
<f:entry title="${h.escape(it.name)}" description="${it.formattedDescription}">
3031
<div name="parameter" description="${it.description}">
3132
<input type="hidden" name="name" value="${it.name}" />
3233
<select name="runId">

src/main/resources/hudson/plugins/promoted_builds/parameters/PromotedBuildParameterValue/value.jelly

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ THE SOFTWARE.
2626
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"
2727
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"
2828
xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
29-
<f:entry title="${it.name}" description="${it.description}">
29+
<j:set var="escapeEntryTitleAndDescription" value="false"/>
30+
<f:entry title="${h.escape(it.name)}" description="${it.formattedDescription}">
3031
<div name="parameter">
3132
<a href="${rootURL}/${it.run.url}">${it.run.fullDisplayName}</a>
3233
<input type="hidden" name="name" value="${it.name}" />

0 commit comments

Comments
 (0)