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

[youtrack-plugin] Extract inline script block and event handler in org/jenkinsci/plugins/youtrack/test/YoutrackTestAction/summary.jelly

XMLWordPrintable

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

      Problems

      == Inline Script Block
      Line: 12
      ----
      <script>
                      function linkIssue() {
                          document.getElementById("youtrackLinkForm").submit();
                      }
                  </script>
      ----
      
      == Inline Event Handler
      Line: 22
      ----
      <a href="#" onclick="linkIssue();">
      ----
      

      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: