mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 12:08:47 +02:00
Merge remote-tracking branch 'origin/support/2.7' into develop
# Conflicts: # application/ajaxwebpage.class.inc.php # application/csvpage.class.inc.php # application/itopwebpage.class.inc.php # application/webpage.class.inc.php # application/xmlpage.class.inc.php # core/config.class.inc.php # css/css-variables.scss # datamodels/2.x/version.xml # pages/ajax.document.php # pages/ajax.render.php # pages/ajax.searchform.php # sources/application/TwigBase/Controller/Controller.php
This commit is contained in:
@@ -440,12 +440,11 @@ abstract class Controller
|
||||
header('Content-Disposition: attachment; filename="'.$sDownloadArchiveName.'"');
|
||||
}
|
||||
|
||||
header('Expires: 0');
|
||||
header('Cache-Control: must-revalidate');
|
||||
header('Pragma: public');
|
||||
header('Expires: 0');
|
||||
|
||||
foreach ($aHeaders as $sKey => $sValue)
|
||||
{
|
||||
foreach ($aHeaders as $sKey => $sValue) {
|
||||
header($sKey.': '.$sValue);
|
||||
}
|
||||
|
||||
@@ -557,7 +556,7 @@ abstract class Controller
|
||||
{
|
||||
case 'html':
|
||||
$this->m_oPage = new iTopWebPage($this->GetOperationTitle());
|
||||
$this->m_oPage->add_header('X-Frame-Options: deny');
|
||||
$this->m_oPage->add_xframe_options();
|
||||
break;
|
||||
|
||||
case 'ajax':
|
||||
|
||||
Reference in New Issue
Block a user