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

[rapiddeploy-jenkins] Extract inline event handler in com/midvision/rapiddeploy/plugin/jenkins/postbuildstep/RapidDeployJobRunner/config.jelly

      Problem

      == Inline Event Handler
      Line: 17
      ----
      <input type="button" value="Load projects" class="yui-button validate-button"
      				onclick="validateButton('${descriptor.descriptorFullUrl}/loadProjects','serverUrl,authenticationToken',this); updateListBox('${id}','${descriptor.descriptorFullUrl}/fillProjectItems')" />
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers

          [JENKINS-74571] [rapiddeploy-jenkins] Extract inline event handler in com/midvision/rapiddeploy/plugin/jenkins/postbuildstep/RapidDeployJobRunner/config.jelly

          Basil Crow created issue -
          Basil Crow made changes -
          Description Original: h4. Problems

          {noformat}
          == Inline Event Handler
          Line: 17
          ----
          <input type="button" value="Load projects" class="yui-button validate-button"
          onclick="validateButton('${descriptor.descriptorFullUrl}/loadProjects','serverUrl,authenticationToken',this); updateListBox('${id}','${descriptor.descriptorFullUrl}/fillProjectItems')" />
          ----

          == Inline Event Handler
          Line: 17
          ----
          <input type="button" value="Load projects" class="yui-button validate-button"
          onclick="validateButton('${descriptor.descriptorFullUrl}/loadProjects','serverUrl,authenticationToken',this); updateListBox('${id}','${descriptor.descriptorFullUrl}/fillProjectItems')" />
          ----
          {noformat}

          h4. Solution

          [https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers]
          New: h4. Problem

          {noformat}
          == Inline Event Handler
          Line: 17
          ----
          <input type="button" value="Load projects" class="yui-button validate-button"
          onclick="validateButton('${descriptor.descriptorFullUrl}/loadProjects','serverUrl,authenticationToken',this); updateListBox('${id}','${descriptor.descriptorFullUrl}/fillProjectItems')" />
          ----
          {noformat}

          h4. Solution

          [https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers]
          Summary Original: [rapiddeploy-jenkins] Extract inline event handlers in com/midvision/rapiddeploy/plugin/jenkins/postbuildstep/RapidDeployJobRunner/config.jelly New: [rapiddeploy-jenkins] Extract inline event handler in com/midvision/rapiddeploy/plugin/jenkins/postbuildstep/RapidDeployJobRunner/config.jelly

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

              Created:
              Updated: