blob: 228178d87b8907a1fa87b577f65a58befaefa963 [file] [log] [blame]
<?php
header("Content-Security-Policy: script-src 'self'; report-uri save-report.php?test=" . $_GET['test']);
?>
<script>
// This script block will trigger a violation report.
alert('FAIL');
</script>
<script src="go-to-echo-report.php?test=<?php echo $_GET['test']; ?>"></script>