#363 Charts not displaying with IE8 + IIS + HTTPS

SVN:trunk[1540]
This commit is contained in:
Romain Quetiez
2011-08-30 10:13:58 +00:00
parent aa95e51e00
commit 038fe30fbe

View File

@@ -41,6 +41,7 @@ try
$oPage = new ajax_page("");
$oPage->no_cache();
$operation = utils::ReadParam('operation', '');
$sFilter = stripslashes(utils::ReadParam('filter', '', false, 'raw_data'));
@@ -449,6 +450,12 @@ try
break;
case 'open_flash_chart':
// Workaround for IE8 + IIS + HTTPS
// See TRAC #363, fix described here: http://forums.codecharge.com/posts.php?post_id=97771
$oPage->add_header("Expires: Fri, 17 Jul 1970 05:00:00 GMT");
$oPage->add_header("Cache-Control: cache, must-revalidate");
$oPage->add_header("Pragma: public");
$oPage->SetContentType('application/json');
$aParams = utils::ReadParam('params', array());
if ($sFilter != '')