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

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: 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

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

              Created:
              Updated: