-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: libvirt-slave-plugin
Problems
== Legacy checkUrl
Line: 45
----
checkUrl="'${rootURL}/plugin/libvirt-slave/checkStartupWaitingPeriodSeconds?secsValue='+this.value"
----
== Legacy checkUrl
Line: 49
----
checkUrl="'${rootURL}/plugin/libvirt-slave/checkStartupTimesToRetryOnFailure?retriesValue='+this.value"
----
== Inline Event Handler
Line: 5
----
<f:select onblur="updateListBox(document.getElementsByName('virtualMachineName')[0],'${rootURL}/plugin/libvirt-slave/computerNameValues?value='+encode(this.value))"/>
----
== Inline Event Handler
Line: 9
----
<select class="setting-input" name="virtualMachineName" value="${instance.virtualMachineName}" onblur="snapshotsList='${rootURL}/plugin/libvirt-slave/snapshotNameValues?vm='+encode(this.value)+'&hypervisor='+encode(document.getElementsByName('_.hypervisorDescription')[0].options[document.getElementsByName('_.hypervisorDescription')[0].selectedIndex].text); updateListBox(document.getElementsByName('snapshotName')[0], snapshotsList); updateListBox(document.getElementsByName('beforeJobSnapshotName')[0], snapshotsList)">
----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers
https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation