Files
i2p.i2p/apps/routerconsole/jsp/csp-unsafe.jsi

5 lines
309 B
Plaintext
Raw Normal View History

<%
// Add this AFTER css.jsi if there's any onclick attributes in the page
response.setHeader("Content-Security-Policy", "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; form-action 'self'; frame-ancestors 'self'; object-src 'none'; media-src 'none'");
%>