Merge branch 'QA_4_7'

This commit is contained in:
Michal Čihař 2017-02-27 11:42:45 +01:00
commit dcb5a8d926
2 changed files with 2 additions and 1 deletions

View File

@ -91,6 +91,7 @@ phpMyAdmin - ChangeLog
- issue #13020 Removed warning about client and server versions mismatch
- issue Hide comments on table Structure tab when no comment is set
- issue Fixed submission of error reports
- issue #13033 Use Referrer-Policy header to specify referrer policy
4.6.6 (2017-01-23)
- issue #12759 Fix Notice regarding 'Undefined index: old_usergroup'

View File

@ -537,6 +537,7 @@ class Header
'X-Frame-Options: DENY'
);
}
header('Referrer-Policy: no-referrer');
header(
"Content-Security-Policy: default-src 'self' "
. $captcha_url
@ -549,7 +550,6 @@ class Header
. $captcha_url
. $GLOBALS['cfg']['CSPAllow']
. ";"
. "referrer no-referrer;"
. "img-src 'self' data: "
. $GLOBALS['cfg']['CSPAllow']
. $map_tile_urls