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

[ca-mat-performance-benchmarking-by-broadcom] Extract inline script block in com/ca/mat/application/performance/view/CreateEndevorProfile/index.jelly

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • _unsorted

      Problem

      == Inline Script Block
      Line: 43
      ----
      <script>
                                                                      function display(r) {
                                                                          for (var i = 0; r.errorMessages.length > i; i++) {
                                                                                var li = document.createElement("li");
                                                                                li.appendChild(document.createTextNode(r.errorMessages[i]));
                                                                                $(entries).appendChild(li);
                                                                                }
                                                                          }
                                                                          </script>
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks

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

              Created:
              Updated: