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

[artifactory] Extract inline script blocks and event handlers in lib/jfrog/dynamicRepos.jelly

XMLWordPrintable

      Problems

      == Inline Script Block
      Line: 84
      ----
      <script>
                          initTextAndSelectOnLoad('${id}', '', 'none');
                      </script>
      ----
      
      == Inline Script Block
      Line: 89
      ----
      <script>
                          initTextAndSelectOnLoad('${id}', 'none', '');
                      </script>
      ----
      
      == Inline Event Handler
      Line: 61
      ----
      <input
                                  class="yui-button validate-button" type="button" id="btn_${id}"
                                  onclick="toggleTxtAndSelect('${id}', 'mode_${id}')"/>
      ----
      
      == Inline Event Handler
      Line: 74
      ----
      <input
                                  class="yui-button validate-button" type="button" id="btn_${id}"
                                  value="Different Value"
                                  onclick="toggleTxtAndSelect('${id}', 'mode_${id}')"/>
      ----
      

      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: