Skip to content

Commit 0e6db61

Browse files
committed
Fix for SECURITY-1940
1 parent 6421dcf commit 0e6db61

File tree

1 file changed

+2
-1
lines changed
  • src/main/resources/com/axis/system/jenkins/plugins/downstream/yabv/BuildFlowAction

1 file changed

+2
-1
lines changed

src/main/resources/com/axis/system/jenkins/plugins/downstream/yabv/BuildFlowAction/buildFlow.groovy

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import com.axis.system.jenkins.plugins.downstream.cache.BuildCache
44
import com.axis.system.jenkins.plugins.downstream.tree.Matrix
55
import com.axis.system.jenkins.plugins.downstream.yabv.BuildFlowOptions
66
import com.axis.system.jenkins.plugins.downstream.yabv.NameNormalizer
7+
import hudson.Util
78
import hudson.model.Item
89
import hudson.model.Job
910
import hudson.model.Queue
@@ -81,7 +82,7 @@ private void drawBuildInfo(CssGridCoordinates gridCoords, Run build, NameNormali
8182
a(href: "${rootURL}/${currentBuild.url}") {
8283
def currentColor = currentBuild.iconColor
8384
div(class: "build-flow-build-history-dot build-info ${currentColor.name().replace('_', ' ')}",
84-
tooltip: currentBuild.displayName)
85+
tooltip: Util.xmlEscape(currentBuild.displayName))
8586
}
8687
currentBuild = currentBuild.previousBuild
8788
}

0 commit comments

Comments
 (0)