OLD | NEW |
1 <?php | 1 <?php |
2 header("Content-Security-Policy-Report-Only: img-src 'none'; report-uri resource
s/save-report.php?test=report-blocked-uri-cross-origin.php"); | 2 header("Content-Security-Policy-Report-Only: img-src 'none'; report-uri resource
s/save-report.php?test=report-blocked-uri-cross-origin.php"); |
3 ?> | 3 ?> |
4 <script src="resources/report-test.js"></script> | 4 <script src="resources/report-test.js"></script> |
5 The origin of this image should show up in the violation report. | 5 The image URL should show up in the violation report. |
6 <img src="http://localhost:8080/security/resources/abe.png"> | 6 <img src="http://localhost:8080/security/resources/abe.png"> |
7 <script src="resources/go-to-echo-report.js"></script> | 7 <script src="resources/go-to-echo-report.js"></script> |
OLD | NEW |