-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: ftppublisher-plugin
Problems
== Legacy checkUrl
Line: 26
----
checkUrl="'${rootURL}/publisher/FTPPublisher/loginCheck?hostname='+escape(Form.findMatchingInput(this,'ftp.hostname').value)+'&port='+escape(Form.findMatchingInput(this,'ftp.port').value)+'&user='+escape(this.value)+'&pass='+escape(Form.findMatchingInput(this,'ftp.password').value)+'&ftpDir='+escape(Form.findMatchingInput(this,'ftp.ftpDir').value)"
----
== Inline Event Handler
Line: 30
----
<input class="setting-input" name="ftp.password"
type="password" value="${site.password}"
onchange="Form.findMatchingInput(this,'ftp.username').onchange()"
/>
----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers
https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation