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

[build-failure-analyzer] Remove inline event handlers

XMLWordPrintable

      Problems

      src/main/resources/com/sonyericsson/jenkins/plugins/bfa/sod/ScanOnDemandBaseAction/ScanMode/index.groovy
      54:                                onclick: "document.location='${rootURL}/${option.getFullUrl()}';",
      
      src/main/resources/com/sonyericsson/jenkins/plugins/bfa/CauseManagement/remove.groovy
      69:          input(type: "button", value:_("Back"), onClick: "history.back(1)", class: "yui-button")
      73:        input(type: "button", value:_("Back"), onClick: "history.back(1)", class: "yui-button")
      

      Solution

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

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

              Created:
              Updated: