aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_acp.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-07-20 09:41:55 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-07-20 09:43:24 +0200
commit30f8e5d638dd7f6d321c152b0eeea6ddf5ed361c (patch)
tree994f38704f05ed9b97a9ac3c56bf42123544b4de /phpBB/includes/functions_acp.php
parent9e9bdb69b5e00a4993b7ff9a6021044c9ec0c4dc (diff)
downloadforums-30f8e5d638dd7f6d321c152b0eeea6ddf5ed361c.tar
forums-30f8e5d638dd7f6d321c152b0eeea6ddf5ed361c.tar.gz
forums-30f8e5d638dd7f6d321c152b0eeea6ddf5ed361c.tar.bz2
forums-30f8e5d638dd7f6d321c152b0eeea6ddf5ed361c.tar.xz
forums-30f8e5d638dd7f6d321c152b0eeea6ddf5ed361c.zip
[ticket/16101] Add Referrer-Policy header to phpBB's headers
PHPBB3-16101
Diffstat (limited to 'phpBB/includes/functions_acp.php')
-rw-r--r--phpBB/includes/functions_acp.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_acp.php b/phpBB/includes/functions_acp.php
index dd326c3db6..a2014a7d5b 100644
--- a/phpBB/includes/functions_acp.php
+++ b/phpBB/includes/functions_acp.php
@@ -112,12 +112,13 @@ function adm_page_header($page_title)
'CONTAINER_EXCEPTION' => $phpbb_container->hasParameter('container_exception') ? $phpbb_container->getParameter('container_exception') : false,
));
- // An array of http headers that phpbb will set. The following event may override these.
+ // An array of http headers that phpBB will set. The following event may override these.
$http_headers = array(
// application/xhtml+xml not used because of IE
'Content-type' => 'text/html; charset=UTF-8',
'Cache-Control' => 'private, no-cache="set-cookie"',
'Expires' => gmdate('D, d M Y H:i:s', time()) . ' GMT',
+ 'Referrer-Policy' => 'strict-origin-when-cross-origin',
);
/**