Content-Security-Policy
This commit is contained in:
parent
69ae21e9fd
commit
1e660bc451
|
@ -98,6 +98,7 @@ class HtmlApp extends App
|
||||||
function printHeader ()
|
function printHeader ()
|
||||||
{
|
{
|
||||||
header ('Content-Type: text/html; charset=UTF-8');
|
header ('Content-Type: text/html; charset=UTF-8');
|
||||||
|
header ("Content-Security-Policy: default-src 'self'");
|
||||||
}
|
}
|
||||||
|
|
||||||
function globalErrorHandler ()
|
function globalErrorHandler ()
|
||||||
|
|
Loading…
Reference in New Issue