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

[changes-since-last-success] Extract inline event handlers in WEB-INF/classes/com/cloudbees/jenkins/plugins/changelog/ChangelogAction/index.jelly

XMLWordPrintable

      Problems

      == Inline Event Handler
      Line: 32
      ----
      <input type="date" value="${it.build.timestampString2}"
                                 onchange="document.getElementById('since').href='since/'+this.value"/>
      ----
      
      == Inline Event Handler
      Line: 37
      ----
      <input type="number" min="${it.build.parent.firstBuild.number}" max="${it.build.parent.lastBuild.number}" value="${it.build.number}"
                                 onchange="document.getElementById('buildNumber').href='buildNumber/'+this.value"/>
      ----
      

      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: