-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: _unsorted
Problems
== Inline Script Block
Line: 5
----
<script type="text/javascript">
function CheckRegion(val) {
var element = document.getElementById('url');
if (val == 'custom')
element.style.display = 'block';
else
element.style.display = 'none';
}
</script>
----
== Inline Event Handler
Line: 18
----
<select name="region" onchange='CheckRegion(this.value);'>
----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers