Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-74554

[open-stf] Migrate legacy checkUrl attributes in hudson/plugins/openstf/STFBuildWrapper/global.jelly

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • open-stf-plugin

      Problems

      == Legacy checkUrl
      Line: 11
      ----
      checkUrl="'buildWrapper/STFBuildWrapper/checkSTFApiEndpoint?stfApiEndpoint=' + escape(this.value) + '&ignoreCertError=' + escape(document.getElementsByName('open-stf.ignoreCertError')[0].checked)"
      ----
      
      == Legacy checkUrl
      Line: 18
      ----
      checkUrl="'buildWrapper/STFBuildWrapper/checkSTFToken?stfApiEndpoint=' + escape(document.getElementsByName('open-stf.stfApiEndpoint')[0].value) + '&ignoreCertError=' + escape(document.getElementsByName('open-stf.ignoreCertError')[0].checked) + '&stfToken=' + escape(this.value)"
      ----
      
      == Legacy checkUrl
      Line: 23
      ----
      checkUrl="'buildWrapper/STFBuildWrapper/checkUseSpecificKey?value='+escape(this.checked)"
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: