aboutsummaryrefslogtreecommitdiffstats
path: root/test/csp.php
blob: 9ab18f3920aaa9a7ae69b4325baba7d85fc140d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
	header("X-Content-Security-Policy: default-src localhost 'self';");
	header("X-WebKit-CSP: script-src 'self'; style-src 'self' 'unsafe-inline'");
?>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>CSP Test Page</title>

	<script src="../dist/jquery.js"></script>
</head>
<body>
	<p>CSP Test Page</p>
</body>
</html>