-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: bazaar-plugin
Problems
== Inline Script Block
Line: 67
----
<script>
<!-- update the visual feedback depending on the checkbox state -->
function updateRow(e,i) {
e.parentNode.parentNode.style.color = e.checked ? "inherit" : "grey";
$("name"+i).disabled = !e.checked;
}
</script>
----
== Inline Event Handler
Line: 45
----
<input type="checkbox" name="tag${loop.index}"
id="tag${loop.index}" onchange="updateRow(this,${loop.index})" />
----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers