-
Task
-
Resolution: Fixed
-
Minor
-
-
130.v9d2696eb_8dc6
Problems
== Inline Script Block Line: 25 ---- <script> var GitlabLogoProperty = { clearCache: function(){ fetch("${rootURL}/descriptor/org.jenkinsci.plugins.gitlablogo.GitlabLogoProperty/clearCache", { method: "post", headers: crumb.wrap({}), }).then((rsp) => { if (rsp.ok) { alert("Clear cache done"); } }); } }; </script> ---- == Inline Event Handler Line: 23 ---- <input type="button" value="clear" onclick="GitlabLogoProperty.clearCache();"/> ----
Solutions
https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers
- links to