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

[xcode-plugin] Extract inline script block and event handlers in au/com/rayh/ExportIpa/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: 44
      ----
      <select class="setting-input" name="developmentTeamName" foo="${UID}" id="global-team-select-${UUID}" onchange="showOrHideAttributeInput('global-team-select-', '${UUID}')">
      ----
      
      == Inline Event Handler
      Line: 211
      ----
      <select class="setting-input" name="keychainName" 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: