Commit 736714b6 authored by darkodev's avatar darkodev Committed by ram4nd

Issue #3085676 by darkodev: Boost removes x-frame-options from core since 7.50

parent 94bbecca
......@@ -1603,6 +1603,9 @@ function boost_htaccess_cache_dir_generate() {
if (variable_get('boost_apache_xheader', BOOST_APACHE_XHEADER) > 0) {
$string .= " Header set X-Cached-By \"Boost\"\n";
}
// Include X-Frame-Options from core (common.inc)
$frame_options = variable_get('x_frame_options', 'SAMEORIGIN');
$string .= " Header set X-Frame-Options \"" . $frame_options . "\"\n";
$string .= " </IfModule>\n";
$string .= "</FilesMatch>\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment