From 244d171cb035f0229ad2a06d01062ca809a72025 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 24 Mar 2016 16:07:07 +0100 Subject: [ticket/14136] Add back X-UA-Compatible meta tag This was previously removed without needing to. Adding it back to force users to not emulate the page for previous versions of IE. The imagetoolbar http-equiv tag was not restored as IE does not contain that anymore since IE7. Also, the chome=1 has been removed from the X-UA-Compatible content as ChromeFrame does not receive any further updates since 2014 and is potentially broken. PHPBB3-14136 --- phpBB/adm/style/install_header.html | 1 + phpBB/adm/style/install_update_diff.html | 1 + phpBB/adm/style/overall_header.html | 1 + phpBB/adm/style/simple_header.html | 1 + phpBB/docs/CHANGELOG.html | 1 + phpBB/docs/FAQ.html | 1 + phpBB/docs/INSTALL.html | 1 + phpBB/docs/README.html | 1 + phpBB/docs/auth_api.html | 1 + phpBB/docs/coding-guidelines.html | 1 + phpBB/includes/functions.php | 2 ++ phpBB/includes/functions_download.php | 1 + phpBB/install/database_update.php | 1 + phpBB/install/index.php | 1 + phpBB/phpbb/db/driver/driver.php | 1 + phpBB/styles/prosilver/template/overall_header.html | 1 + phpBB/styles/prosilver/template/simple_header.html | 1 + phpBB/styles/prosilver/template/ucp_pm_viewmessage_print.html | 1 + phpBB/styles/prosilver/template/viewtopic_print.html | 1 + phpBB/styles/subsilver2/template/overall_header.html | 1 + phpBB/styles/subsilver2/template/simple_header.html | 1 + phpBB/styles/subsilver2/template/ucp_pm_viewmessage_print.html | 1 + phpBB/styles/subsilver2/template/viewtopic_print.html | 1 + 23 files changed, 24 insertions(+) diff --git a/phpBB/adm/style/install_header.html b/phpBB/adm/style/install_header.html index 6f7f129d39..cfafe7917f 100644 --- a/phpBB/adm/style/install_header.html +++ b/phpBB/adm/style/install_header.html @@ -2,6 +2,7 @@ + {META} {PAGE_TITLE} diff --git a/phpBB/adm/style/install_update_diff.html b/phpBB/adm/style/install_update_diff.html index 5f80084705..324dc50d05 100644 --- a/phpBB/adm/style/install_update_diff.html +++ b/phpBB/adm/style/install_update_diff.html @@ -2,6 +2,7 @@ + {META} {PAGE_TITLE} diff --git a/phpBB/adm/style/overall_header.html b/phpBB/adm/style/overall_header.html index ada88edff2..d399c680ee 100644 --- a/phpBB/adm/style/overall_header.html +++ b/phpBB/adm/style/overall_header.html @@ -2,6 +2,7 @@ + {META} {PAGE_TITLE} diff --git a/phpBB/adm/style/simple_header.html b/phpBB/adm/style/simple_header.html index f62a7a900e..9f47b2052b 100644 --- a/phpBB/adm/style/simple_header.html +++ b/phpBB/adm/style/simple_header.html @@ -2,6 +2,7 @@ + {META} {PAGE_TITLE} diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 89825d612f..6c0e2d33a5 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -2,6 +2,7 @@ + phpBB • Changelog diff --git a/phpBB/docs/FAQ.html b/phpBB/docs/FAQ.html index 4786d8d796..5f3a425cda 100644 --- a/phpBB/docs/FAQ.html +++ b/phpBB/docs/FAQ.html @@ -2,6 +2,7 @@ + phpBB • FAQ diff --git a/phpBB/docs/INSTALL.html b/phpBB/docs/INSTALL.html index 2929c7be28..333d367aa7 100644 --- a/phpBB/docs/INSTALL.html +++ b/phpBB/docs/INSTALL.html @@ -2,6 +2,7 @@ + phpBB • Install diff --git a/phpBB/docs/README.html b/phpBB/docs/README.html index 4b85735463..38f74c199a 100644 --- a/phpBB/docs/README.html +++ b/phpBB/docs/README.html @@ -2,6 +2,7 @@ + phpBB • Readme diff --git a/phpBB/docs/auth_api.html b/phpBB/docs/auth_api.html index 27d090c296..960fa76417 100644 --- a/phpBB/docs/auth_api.html +++ b/phpBB/docs/auth_api.html @@ -2,6 +2,7 @@ + phpBB3 • Auth API diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html index 26189235ef..eb0fb60de2 100644 --- a/phpBB/docs/coding-guidelines.html +++ b/phpBB/docs/coding-guidelines.html @@ -2,6 +2,7 @@ + phpBB3 • Coding Guidelines diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 72c0d458c6..8e3f62230a 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2401,6 +2401,7 @@ function redirect($url, $return = false, $disable_cd_check = false) echo ''; echo ''; echo ''; + echo ''; echo ''; echo '' . $user->lang['REDIRECT'] . ''; echo ''; @@ -3997,6 +3998,7 @@ function msg_handler($errno, $msg_text, $errfile, $errline) echo ''; echo ''; echo ''; + echo ''; echo '' . $msg_title . ''; echo '