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 created issue -
          Basil Crow made changes -
          Description Original: h4. Problems

          {noformat}
          == 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)"
          ----

          == 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)"
          ----
          {noformat}

          h4. Solution

          [https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation]
          New: h4. Problems

          {noformat}
          == 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)"
          ----
          {noformat}

          h4. Solution

          [https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation]
          Shlomo made changes -
          Assignee New: Shlomo [ shlomo_dahan ]
          Shlomo made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Shlomo made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Shlomo made changes -
          Remote Link New: This issue links to "PR 25 (Web Link)" [ 30129 ]
          Basil Crow made changes -
          Released As New: 2.7
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Closed [ 6 ]
          Basil Crow made changes -
          Link New: This issue causes JENKINS-74847 [ JENKINS-74847 ]
          Basil Crow made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Basil Crow made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]
          Basil Crow made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

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

              Created:
              Updated:
              Resolved: