-
Task
-
Resolution: Fixed
-
Minor
Problems
== Inline Script Block Line: 57 ---- <script> // init the preview window.addEventListener("DOMContentLoaded", initCustomIcon()); </script> ---- == Inline Event Handler Line: 36 ---- <f:file id="custom-icon-upload" accept="image/*" onchange="setCustomIconFile(this.files[0])" clazz="custom-icon jenkins-file-upload" /> ---- == Inline Event Handler Line: 39 ---- <input type="button" value="${%Apply}" onclick="doUploadCustomIcon('${it.getUrl()}', '${%UploadSuccess}', '${%UploadFailed}')" /> ---- == Inline Event Handler Line: 47 ---- <img class="custom-icon-selection" src="${rootURL}/userContent/customFolderIcons/${icon}" onclick="setCustomIcon(this.src)" /> ----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers