View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04800 | Bug reports | Import/Export | public | 2010-12-08 12:21 | 2010-12-15 13:43 |
Reporter | Assigned To | adamzammit | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.90+ | ||||
Fixed in Version | 1.90+ | ||||
Summary | 04800: queXML-survey export over https-connection fails with Internet Explorer 8 [patch attached] | ||||
Description | The quexml export filter still sets the pragma: no-cache header which causes problems in IE when using a https-connection (see also bug 04304). The attached patch sets the pragma-header to "public" in the limesurvey-xml and the quexml export functions. Additionally, the content-type header is set to "text/xml". | ||||
Steps To Reproduce | Do a quexml-export from Limesurvey via a https-connection with Internet Explorer. This should produce an error message saying: 'Internet explorer cannot download admin.php from example.org. Internet explorer was not able to open this internet site. The requested site is either unavailable or cannot be found. Please try again later.' | ||||
Tags | No tags attached. | ||||
Attached Files | exportfix-1.90+build_9561.diff (1,874 bytes)
diff -ruN .\limesurvey-orig/admin/export_structure_quexml.php .\limesurvey-exportfix/admin/export_structure_quexml.php --- .\limesurvey-orig/admin/export_structure_quexml.php 2010-08-19 05:43:49.000000000 +0100 +++ .\limesurvey-exportfix/admin/export_structure_quexml.php 2010-12-07 16:09:29.351673300 +0000 @@ -517,12 +517,12 @@ $fn = "survey_$surveyid.xml"; -header("Content-Type: application/download"); +header("Content-Type: text/xml"); header("Content-Disposition: attachment; filename=$fn"); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); Header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); -header("Pragma: no-cache"); // HTTP/1.0 +header("Pragma: public"); // HTTP/1.0 echo $dom->dump_mem(true,'UTF-8'); exit; diff -ruN .\limesurvey-orig/admin/export_structure_xml.php .\limesurvey-exportfix/admin/export_structure_xml.php --- .\limesurvey-orig/admin/export_structure_xml.php 2010-12-07 15:54:47.717719500 +0000 +++ .\limesurvey-exportfix/admin/export_structure_xml.php 2010-12-07 16:09:42.389673300 +0000 @@ -197,12 +197,12 @@ if (!isset($copyfunction)) { $fn = "limesurvey_survey_$surveyid.lss"; - header("Content-Type: text/html/force-download"); + header("Content-Type: text/xml"); header("Content-Disposition: attachment; filename=$fn"); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); - header("Pragma: cache"); // HTTP/1.0 + header("Pragma: public"); // HTTP/1.0 echo getXMLData(); exit; } | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 9561 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Internet Explorer 8 | ||||
Database type & version | MySQL 5.1 | ||||
Server OS (if known) | Windows 2008 R2 | ||||
Webserver software & version (if known) | IIS 7 | ||||
PHP Version | 5.3 | ||||
Adam, can you apply this fix on limesurvey and limesurvey_dev please? |
|
Hi Carsten, This has been applied to limesurvey in rev 9606 and limesurvey_dev in 9607. I have tested it over SSL using IE 8 and Firefox 3.6.12 Regards, |
|
Great, please set this issue to resolved, then. |
|
Released in 1.90+ version. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-12-08 12:21 |
|
New Issue | |
2010-12-08 12:21 |
|
File Added: exportfix-1.90+build_9561.diff | |
2010-12-08 12:22 |
|
Issue Monitored: user11063 | |
2010-12-08 22:55 | c_schmitz | Assigned To | => adamzammit |
2010-12-08 22:55 | c_schmitz | Status | new => assigned |
2010-12-08 22:56 | c_schmitz | Note Added: 13727 | |
2010-12-09 00:01 | adamzammit | Note Added: 13729 | |
2010-12-10 01:32 | c_schmitz | Note Added: 13741 | |
2010-12-10 01:35 | adamzammit | Status | assigned => resolved |
2010-12-10 01:35 | adamzammit | Fixed in Version | => 1.90+ |
2010-12-10 01:35 | adamzammit | Resolution | open => fixed |
2010-12-15 13:43 | c_schmitz | Note Added: 13794 | |
2010-12-15 13:43 | c_schmitz | Status | resolved => closed |