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

[japex] Extract inline script block and event handler in WEB-INF/classes/hudson/plugins/japex/TrendReport/index.jelly

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • japex-plugin

      Problems

      == Inline Script Block
      Line: 27
      ----
      <script>
                function jump(menu){
                  window.location.hash = menu.value;
                }
              </script>
      ----
      
      == Inline Event Handler
      Line: 32
      ----
      <select name="choice" onChange="jump(this)">
      ----
      

      Solutions

      https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
      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: