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

[ssh] Migrate legacy checkUrl attributes in org/jvnet/hudson/plugins/SSHBuildWrapper/global.jelly

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • ssh-plugin
    • 2.9

      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

          [JENKINS-74031] [ssh] Migrate legacy checkUrl attributes in org/jvnet/hudson/plugins/SSHBuildWrapper/global.jelly

          Basil Crow added a comment -

          Basil Crow added a comment - Fixed in https://github.com/jenkinsci/ssh-plugin/pull/25 . Released in 2.7 .

          Basil Crow added a comment -

          Causes JENKINS-74847. I am reverting this PR.

          Basil Crow added a comment - Causes JENKINS-74847 . I am reverting this PR.

          Basil Crow added a comment -

          Fixed in jenkinsci/ssh-plugin#31. Released in 2.9.

          Basil Crow added a comment - Fixed in jenkinsci/ssh-plugin#31 . Released in 2.9 .

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

              Created:
              Updated:
              Resolved: