diff options
author | Derky <derky@phpbb.com> | 2019-07-30 07:39:16 +0200 |
---|---|---|
committer | Derky <derky@phpbb.com> | 2019-07-30 07:39:16 +0200 |
commit | 2f85fc53dc4c02f3c67bb9968f5e310e4efdc7de (patch) | |
tree | aa408ab1690e4f91c6532afab5fadcbd0cb55c89 /phpBB/includes/functions.php | |
parent | 90722a3c662e643b185d143484b95a1af959bad5 (diff) | |
parent | 6ada02b0606061672eb3989a7a1bdab39d3c61ce (diff) | |
download | forums-2f85fc53dc4c02f3c67bb9968f5e310e4efdc7de.tar forums-2f85fc53dc4c02f3c67bb9968f5e310e4efdc7de.tar.gz forums-2f85fc53dc4c02f3c67bb9968f5e310e4efdc7de.tar.bz2 forums-2f85fc53dc4c02f3c67bb9968f5e310e4efdc7de.tar.xz forums-2f85fc53dc4c02f3c67bb9968f5e310e4efdc7de.zip |
Merge branch '3.2.x' into 3.3.x
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index bfde77cd0f..2aa98b384e 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4581,12 +4581,13 @@ function page_header($page_title = '', $display_online_list = false, $item_id = if ($send_headers) { - // 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', ); if (!empty($user->data['is_bot'])) { |