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

[managed-scripts] Extract inline event handlers in org/jenkinsci/plugins/managedscripts/ScriptBuildStep/config.jelly

XMLWordPrintable

      Problems

      == Inline Event Handler
      Line: 8
      ----
      <a target="_blank" style="display:none;" href="" onclick="window.open(this.href,'window','width=900,height=640,resizable,scrollbars,toolbar,menubar') ;return false;">
      ----
      
      == Inline Event Handler
      Line: 19
      ----
      <input type="button" name="add_button" onClick="ms_labelArgs()" value="${%Add argument}" class="repeatable-add show-if-last" />
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers

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

              Created:
              Updated: