<?php | |
header("Content-Security-Policy: script-src 'self'; report-uri //127.0.0.1:8080/security/contentSecurityPolicy/resources/save-report.php"); | |
?> | |
<script> | |
// This script block will trigger a violation report. | |
alert('FAIL'); | |
</script> | |
<script src="resources/go-to-echo-report.js"></script> |