2013-02-08 05:20:33 +00:00
|
|
|
<?php
|
2015-07-30 13:34:34 +00:00
|
|
|
# This test page checks CSP only for browsers with "Content-Security-Policy" header support
|
2013-10-30 12:20:38 +00:00
|
|
|
# i.e. no old WebKit or old Firefox
|
|
|
|
header("Content-Security-Policy: default-src 'self'; report-uri csp-log.php");
|
2013-02-08 05:20:33 +00:00
|
|
|
?>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<title>CSP Test Page</title>
|
|
|
|
<script src="../../jquery.js"></script>
|
|
|
|
<script src="csp.js"></script>
|
2013-09-02 17:21:09 +00:00
|
|
|
<script src="getComputedSupport.js"></script>
|
2013-02-08 05:20:33 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<p>CSP Test Page</p>
|
|
|
|
</body>
|
|
|
|
</html>
|