No longer need to allow phpmyadmin.net
This commit is contained in:
parent
95e948fbfd
commit
c758fdae2c
@ -24,7 +24,7 @@ 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:");
|
||||
if (PMA_USR_BROWSER_AGENT == 'SAFARI') {
|
||||
header("X-WebKit-CSP: allow 'self' http://www.phpmyadmin.net; options inline-script eval-script");
|
||||
header("X-WebKit-CSP: allow 'self'; options inline-script eval-script");
|
||||
} else {
|
||||
header("X-WebKit-CSP: default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user