-
Task
-
Resolution: Unresolved
-
Minor
Problems
== Inline Script Block Line: 27 ---- <script> function jump(menu){ window.location.hash = menu.value; } </script> ---- == Inline Event Handler Line: 32 ---- <select name="choice" onChange="jump(this)"> ----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers
[JENKINS-74591] [japex] Extract inline script block and event handler in WEB-INF/classes/hudson/plugins/japex/TrendReport/index.jelly
Description |
Original:
h4. Problems {noformat} == Inline Event Handler Line: 32 ---- <select name="choice" onChange="jump(this)"> ---- == Inline Script Block Line: 27 ---- <script> function jump(menu){ window.location.hash = menu.value; } </script> ---- == Inline Event Handler Line: 32 ---- <select name="choice" onChange="jump(this)"> ---- == Inline Script Block Line: 27 ---- <script> function jump(menu){ window.location.hash = menu.value; } </script> ---- {noformat} h4. Solutions [https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks] [https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers] |
New:
h4. Problems {noformat} == Inline Script Block Line: 27 ---- <script> function jump(menu){ window.location.hash = menu.value; } </script> ---- == Inline Event Handler Line: 32 ---- <select name="choice" onChange="jump(this)"> ---- {noformat} h4. Solutions [https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks] [https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers] |
Summary | Original: [japex] Extract inline script blocks and event handlers in WEB-INF/classes/hudson/plugins/japex/TrendReport/index.jelly | New: [japex] Extract inline script block and event handler in WEB-INF/classes/hudson/plugins/japex/TrendReport/index.jelly |