-
Task
-
Resolution: Fixed
-
Minor
Problems
== Legacy checkUrl Line: 9 ---- checkUrl="'${rootURL}/descriptorByName/org.jvnet.hudson.plugins.SSHBuildWrapper/checkHostname?hostname='+escape(this.value)" ---- == Legacy checkUrl Line: 16 ---- checkUrl="'${rootURL}/descriptorByName/org.jvnet.hudson.plugins.SSHBuildWrapper/checkCredentialId?credentialId='+escape(this.value)" ----
Solution
https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation
- causes
-
JENKINS-74847 hostname/credentials empty after Update from Version 2.6.1 to Version: 2.7
-
- Closed
-
- links to
[JENKINS-74031] [ssh] Migrate legacy checkUrl attributes in org/jvnet/hudson/plugins/SSHBuildWrapper/global.jelly
Description |
Original:
h4. Problems {noformat} == Legacy checkUrl Line: 9 ---- checkUrl="'${rootURL}/descriptorByName/org.jvnet.hudson.plugins.SSHBuildWrapper/checkHostname?hostname='+escape(this.value)" ---- == Legacy checkUrl Line: 16 ---- checkUrl="'${rootURL}/descriptorByName/org.jvnet.hudson.plugins.SSHBuildWrapper/checkCredentialId?credentialId='+escape(this.value)" ---- == Legacy checkUrl Line: 9 ---- checkUrl="'${rootURL}/descriptorByName/org.jvnet.hudson.plugins.SSHBuildWrapper/checkHostname?hostname='+escape(this.value)" ---- == Legacy checkUrl Line: 16 ---- checkUrl="'${rootURL}/descriptorByName/org.jvnet.hudson.plugins.SSHBuildWrapper/checkCredentialId?credentialId='+escape(this.value)" ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation] |
New:
h4. Problems {noformat} == Legacy checkUrl Line: 9 ---- checkUrl="'${rootURL}/descriptorByName/org.jvnet.hudson.plugins.SSHBuildWrapper/checkHostname?hostname='+escape(this.value)" ---- == Legacy checkUrl Line: 16 ---- checkUrl="'${rootURL}/descriptorByName/org.jvnet.hudson.plugins.SSHBuildWrapper/checkCredentialId?credentialId='+escape(this.value)" ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation] |
Assignee | New: Shlomo [ shlomo_dahan ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "PR 25 (Web Link)" [ 30129 ] |
Released As | New: 2.7 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Closed [ 6 ] |
Link |
New:
This issue causes |
Fixed in https://github.com/jenkinsci/ssh-plugin/pull/25. Released in 2.7.