-
Task
-
Resolution: Unresolved
-
Minor
Note
While testing this plugin, evaluate whether the third-party libraries in src/main/webapp are compatible with CSP in restrictive mode. The plugin may need to be upgraded from jQuery 1.x to 3.x to fully function in CSP restrictive mode.
Problem
== Legacy checkUrl Line: 10 ---- checkUrl="'${it.rootUrl}/descriptor/com.cavisson.jenkins.NetstormTestParameterDefinition/validate?keyword='+encodeURIComponent("${it.keyword}")+'&value='+encodeURIComponent(this.value)" ----
Solution
https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation
[JENKINS-74612] [cavisson-ns-nd-integration] Migrate legacy checkUrl attribute in com/cavisson/jenkins/NetstormTestParameterDefinition/index.jelly
Assignee | Original: Cavisson Systems [ cavissonsystems ] |
Description |
Original:
h4. Problems {noformat} == Legacy checkUrl Line: 10 ---- checkUrl="'${it.rootUrl}/descriptor/com.cavisson.jenkins.NetstormTestParameterDefinition/validate?keyword='+encodeURIComponent("${it.keyword}")+'&value='+encodeURIComponent(this.value)" ---- == Legacy checkUrl Line: 10 ---- checkUrl="'${it.rootUrl}/descriptor/com.cavisson.jenkins.NetstormTestParameterDefinition/validate?keyword='+encodeURIComponent("${it.keyword}")+'&value='+encodeURIComponent(this.value)" ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation] |
New:
h4. Problem {noformat} == Legacy checkUrl Line: 10 ---- checkUrl="'${it.rootUrl}/descriptor/com.cavisson.jenkins.NetstormTestParameterDefinition/validate?keyword='+encodeURIComponent("${it.keyword}")+'&value='+encodeURIComponent(this.value)" ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation] |
Summary | Original: [cavisson-ns-nd-integration] Migrate legacy checkUrl attributes in com/cavisson/jenkins/NetstormTestParameterDefinition/index.jelly | New: [cavisson-ns-nd-integration] Migrate legacy checkUrl attribute in com/cavisson/jenkins/NetstormTestParameterDefinition/index.jelly |
Description |
Original:
h4. Problem {noformat} == Legacy checkUrl Line: 10 ---- checkUrl="'${it.rootUrl}/descriptor/com.cavisson.jenkins.NetstormTestParameterDefinition/validate?keyword='+encodeURIComponent("${it.keyword}")+'&value='+encodeURIComponent(this.value)" ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation] |
New:
h1. Note
*While testing this plugin, evaluate whether the third-party libraries in {{src/main/webapp}} are compatible with CSP in restrictive mode. The plugin may need to be upgraded from jQuery 1.x to 3.x to fully function in CSP restrictive mode.* h4. Problem {noformat} == Legacy checkUrl Line: 10 ---- checkUrl="'${it.rootUrl}/descriptor/com.cavisson.jenkins.NetstormTestParameterDefinition/validate?keyword='+encodeURIComponent("${it.keyword}")+'&value='+encodeURIComponent(this.value)" ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation] |