OLD | NEW |
1 <?php | 1 <?php |
2 header("Content-Security-Policy: img-src http://*"); | 2 header("Content-Security-Policy: img-src http://*"); |
3 header("Content-Security-Policy-Report-Only: img-src http://*; script-src 'self'
; report-uri resources/save-report.php?test=report-uri-multiple.php"); | 3 header("Content-Security-Policy-Report-Only: img-src http://*; script-src 'self'
; report-uri resources/save-report.php?test=report-uri-multiple.php"); |
4 ?> | 4 ?> |
5 <!DOCTYPE html> | 5 <!DOCTYPE html> |
6 <html> | 6 <html> |
7 <head> | 7 <head> |
8 <script src="resources/report-test.js"></script> | 8 <script src="resources/report-test.js"></script> |
9 </head> | 9 </head> |
10 <body> | 10 <body> |
11 <img src="ftp://blah.test" /> | 11 <img src="ftp://blah.test" /> |
12 <script src="resources/go-to-echo-report.js"></script> | 12 <script src="resources/go-to-echo-report.js"></script> |
13 </body> | 13 </body> |
14 </html> | 14 </html> |
OLD | NEW |