Content-Security-Policy

This commit is contained in:
Juan Ferrer Toribio 2016-07-22 23:11:05 +02:00
parent 69ae21e9fd
commit 1e660bc451
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ class HtmlApp extends App
function printHeader ()
{
header ('Content-Type: text/html; charset=UTF-8');
header ("Content-Security-Policy: default-src 'self'");
}
function globalErrorHandler ()