-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: artifactory-plugin
Problems
== Inline Script Block
Line: 51
----
<script>
var selectPlugin = document.getElementById("pluginList");
selectPlugin.onchange = onPluginChange;
var buildBind =<st:bind value="${it}"/>;
var promoteInfoListSize = "${it.PromoteInfoListSize}";
if (promoteInfoListSize >= 1) {
loadBuild('${it.buildsData}'); // Auto-load
}
</script>
----
== Inline Event Handler
Line: 21
----
<select class="setting-input" name="promotionCandidates"
id="buildId" onchange="loadBuild('${it.buildsData}')">
----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers