-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: report-info-plugin
Problems
== Inline Script Block
Line: 40
----
<script type="text/javascript">
function displayNotif(idx) {
var el = document.getElementById("n" + idx);
if(el.getAttribute("style")) {
el.removeAttribute("style");
} else {
el.setAttribute ("style", "display:none");
}
}
</script>
----
== Inline Event Handler
Line: 52
----
<a href="javascript:void(0)" onclick="displayNotif(${idx})">
----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers