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

[xcode-plugin] Extract inline script block and event handler in au/com/rayh/DeveloperProfileLoader/config.jelly

XMLWordPrintable

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

      Problems

      == Inline Script Block
      Line: 27
      ----
      <script type="text/javascript">
      		<!--
      			var showOrHideAttributeInput = function(prefix, uuid) {
      				var defaultChosen = (document.getElementById(prefix + uuid).selectedIndex == 0);
      
      				document.getElementById("" + uuid).style.display = defaultChosen ? "block" : "none";
      			};
      		-->
      		</script>
      ----
      
      == Inline Event Handler
      Line: 62
      ----
      <select class="setting-input" name="keychainId" foo="${UID}" id="global-keychain-select-${UUID}" onchange="showOrHideAttributeInput('global-keychain-select-', '${UUID}')">
      ----
      

      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: