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

[dependency-track] Extract inline event handlers in org/jenkinsci/plugins/DependencyTrack/ViolationsRunAction/index.jelly

XMLWordPrintable

      Problems

      == Inline Event Handler
      Line: 13
      ----
      <link rel="preload" as="style" onload="this.rel='stylesheet'" href="${resURL}/plugin/dependency-track/css/bootstrap.min.css?v=${it.versionHash}" />
      ----
      
      == Inline Event Handler
      Line: 14
      ----
      <link rel="preload" as="style" onload="this.rel='stylesheet'" href="${resURL}/plugin/dependency-track/css/bootstrap-vue.min.css?v=${it.versionHash}" />
      ----
      
      == Inline Event Handler
      Line: 15
      ----
      <link rel="preload" as="style" onload="this.rel='stylesheet'" href="${resURL}/plugin/dependency-track/css/result-action.css?v=${it.versionHash}" />
      ----
      

      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: