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

[log-parser] CSP compliance for LogParserWriter

XMLWordPrintable

      Problems

      == Inline Script Block (Java)
      File: ./src/main/java/hudson/plugins/logparser/LogParserWriter.java
      Line: 53
      ----
      <script type=\"text/javascript\">\n"
                      + "\tfunction toggleList(list){\n"
                      + "\t\telement = document.getElementById(list).style;\n"
                      + "\t\telement.display == 'none' ? element.display='block' : element.display='none';\n"
                      + "\t}\n" + "</script>
      ----
      
      == Javascript scheme (Java)
      File: ./src/main/java/hudson/plugins/logparser/LogParserWriter.java
      Line: 126
      ----
      "<a href=\"javascript:toggleList('"
      ----
      

      Solutions

      https://www.jenkins.io/doc/developer/security/csp/

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

              Created:
              Updated: