diff --git a/libraries/header_http.inc.php b/libraries/header_http.inc.php index 337fe4796a..9873c5dbdf 100644 --- a/libraries/header_http.inc.php +++ b/libraries/header_http.inc.php @@ -22,7 +22,8 @@ $GLOBALS['now'] = gmdate('D, d M Y H:i:s') . ' GMT'; /* Prevent against ClickJacking by allowing frames only from same origin */ if (!$GLOBALS['cfg']['AllowThirdPartyFraming']) { header('X-Frame-Options: SAMEORIGIN'); - header('X-Content-Security-Policy: allow \'self\'; options inline-script eval-script; frame-ancestors \'self\'; img-src \'self\' data:; script-src \'self\' www.phpmyadmin.net'); + header('X-Content-Security-Policy: allow \'self\'; options inline-script eval-script; frame-ancestors \'self\'; img-src \'self\' data:; script-src \'self\' http://www.phpmyadmin.net'); + header('X-WebKit-CSP: default-src \'self\' \'unsafe-inline\'; img-src \'self\' data:; script-src \'self\' \'unsafe-inline\' \'unsafe-eval\' http://www.phpmyadmin.net'); } PMA_no_cache_header(); if (!defined('IS_TRANSFORMATION_WRAPPER')) { diff --git a/main.php b/main.php index e918482085..e05b639787 100644 --- a/main.php +++ b/main.php @@ -228,10 +228,9 @@ echo '
'; echo '

phpMyAdmin

'; echo '