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

[publish-over-ssh] Migrate legacy checkUrl attributes in jenkins/plugins/publish_over_ssh/BapSshTransfer/config.jelly

XMLWordPrintable

    • 383.v4eb_4c44da_2dd

      Problems

      == Legacy checkUrl
      Line: 32
      ----
      checkUrl="'${rootURL}/descriptorByName/jenkins.plugins.publish_over_ssh.BapSshTransfer/checkSourceFiles'+qs(this).nearBy('sourceFiles').nearBy('execCommand').toString()+bap_get_configName_qs(this)"
      ----
      
      == Legacy checkUrl
      Line: 44
      ----
      checkUrl="'${rootURL}/descriptorByName/jenkins.plugins.publish_over_ssh.BapSshTransfer/checkExecCommand'+qs(this).nearBy('sourceFiles').nearBy('execCommand').toString()"
      ----
      

      Solution

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

            yafenkin Yaroslav Afenkin
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: