-
Task
-
Resolution: Unresolved
-
Minor
Problems
== Inline Event Handler Line: 62 ---- <a href="#" class="edit-site-icon" onclick="editSite(${loop.index}); return false;"> ---- == Inline Event Handler Line: 65 ---- <a href="#" onclick="removeSite(${loop.index}); return false;"> ---- == Inline Event Handler Line: 78 ---- <input type="button" id="showSiteButton" value="Add Site" class="show-site-button" onclick="showSiteInputs();" /> ---- == Inline Event Handler Line: 103 ---- <input type="button" value="Cancel" class="cancel-site-edit-btn" onclick="hideSiteInputs();" /> ---- == Inline Event Handler Line: 112 ---- <div class="advanced-options-accordian" onclick="toggleAdvancedOptions();"> ---- == Inline Event Handler Line: 132 ---- <input type="button" value="Validate Regex" onclick="validateAutoBuildsRegex();" class="validate-regex-btn" /> ---- == Inline Event Handler Line: 143 ---- <input type="button" value="Validate Regex" onclick="validateAutoDeploymentsRegex();" class="validate-regex-btn" /> ----
Solution
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers
[JENKINS-74125] [atlassian-jira-software-cloud] Extract inline event handlers in com/atlassian/jira/cloud/jenkins/configuration/config.jelly
Assignee | Original: Boris Gvozdev [ bgvozdev ] |
Description |
Original:
h4. Problems {noformat} == Inline Event Handler Line: 62 ---- <a href="#" class="edit-site-icon" onclick="editSite(${loop.index}); return false;"> ---- == Inline Event Handler Line: 65 ---- <a href="#" onclick="removeSite(${loop.index}); return false;"> ---- == Inline Event Handler Line: 78 ---- <input type="button" id="showSiteButton" value="Add Site" class="show-site-button" onclick="showSiteInputs();" /> ---- == Inline Event Handler Line: 103 ---- <input type="button" value="Cancel" class="cancel-site-edit-btn" onclick="hideSiteInputs();" /> ---- == Inline Event Handler Line: 112 ---- <div class="advanced-options-accordian" onclick="toggleAdvancedOptions();"> ---- == Inline Event Handler Line: 132 ---- <input type="button" value="Validate Regex" onclick="validateAutoBuildsRegex();" class="validate-regex-btn" /> ---- == Inline Event Handler Line: 143 ---- <input type="button" value="Validate Regex" onclick="validateAutoDeploymentsRegex();" class="validate-regex-btn" /> ---- == Inline Event Handler Line: 62 ---- <a href="#" class="edit-site-icon" onclick="editSite(${loop.index}); return false;"> ---- == Inline Event Handler Line: 65 ---- <a href="#" onclick="removeSite(${loop.index}); return false;"> ---- == Inline Event Handler Line: 78 ---- <input type="button" id="showSiteButton" value="Add Site" class="show-site-button" onclick="showSiteInputs();" /> ---- == Inline Event Handler Line: 103 ---- <input type="button" value="Cancel" class="cancel-site-edit-btn" onclick="hideSiteInputs();" /> ---- == Inline Event Handler Line: 112 ---- <div class="advanced-options-accordian" onclick="toggleAdvancedOptions();"> ---- == Inline Event Handler Line: 132 ---- <input type="button" value="Validate Regex" onclick="validateAutoBuildsRegex();" class="validate-regex-btn" /> ---- == Inline Event Handler Line: 143 ---- <input type="button" value="Validate Regex" onclick="validateAutoDeploymentsRegex();" class="validate-regex-btn" /> ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers] |
New:
h4. Problems {noformat} == Inline Event Handler Line: 62 ---- <a href="#" class="edit-site-icon" onclick="editSite(${loop.index}); return false;"> ---- == Inline Event Handler Line: 65 ---- <a href="#" onclick="removeSite(${loop.index}); return false;"> ---- == Inline Event Handler Line: 78 ---- <input type="button" id="showSiteButton" value="Add Site" class="show-site-button" onclick="showSiteInputs();" /> ---- == Inline Event Handler Line: 103 ---- <input type="button" value="Cancel" class="cancel-site-edit-btn" onclick="hideSiteInputs();" /> ---- == Inline Event Handler Line: 112 ---- <div class="advanced-options-accordian" onclick="toggleAdvancedOptions();"> ---- == Inline Event Handler Line: 132 ---- <input type="button" value="Validate Regex" onclick="validateAutoBuildsRegex();" class="validate-regex-btn" /> ---- == Inline Event Handler Line: 143 ---- <input type="button" value="Validate Regex" onclick="validateAutoDeploymentsRegex();" class="validate-regex-btn" /> ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "jenkinsci/atlassian-jira-software-cloud-plugin/pull/133 (Web Link)" [ 30301 ] |