View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
09407 | Bug reports | Import/Export | public | 2014-12-14 20:06 | 2015-02-11 15:57 |
Reporter | tremlin | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.05+ | ||||
Fixed in Version | 2.05+ | ||||
Summary | 09407: question and group export uses HTML content-type | ||||
Description | The export of questions and question groups uses This causes problems if LimeSurvey runs behind Apache mod_proxy_html. Wouldn't (The problems behind mod_proxy_html are: XML document is wrapped in <html><body>-tags; all tags are converted to lowercase as tags in HTML are not case-sensitive.) | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 141126 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | 178 | ||||
Server OS (if known) | Debian 7 | ||||
Webserver software & version (if known) | Apache 2.2.22 | ||||
PHP Version | 5.4.35 | ||||
What kind of problems does it create? |
|
As already sketched above, the problem is that mod_proxy_html looks at the Content-Type of a document to decide whether it has to apply its magic to it or to pass it unchanged. Because mod_proxy_html thinks the XML export is HTML, I noticed at least two problems:
Would application/xml solve the problem that some browsers add their own extension? Just out of curiosity, do you know an example for a browser that behaves this way? |
|
AFAIK does application/xml the same. Problem browser is Safari. |
|
I fixed this by using application/force-download. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14812 |
|
Fix committed to 2.06 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14813 |
|
Thanks! |
|
Version 2.05 Build 150211 released |
|
LimeSurvey: master 72f53da1 2014-12-30 11:28 Details Diff |
Fixed issue 09407: Question and group export uses HTML content-type |
Affected Issues 09407 |
|
mod - application/controllers/InstallerController.php | Diff File | ||
mod - application/controllers/admin/export.php | Diff File | ||
mod - application/helpers/export_helper.php | Diff File | ||
LimeSurvey: 2.06 77357a0b 2014-12-30 11:33 Details Diff |
Fixed issue 09407: Question and group export uses HTML content-type |
Affected Issues 09407 |
|
mod - application/controllers/InstallerController.php | Diff File | ||
mod - application/controllers/admin/export.php | Diff File | ||
mod - application/helpers/export_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-12-14 20:06 | tremlin | New Issue | |
2014-12-17 12:49 | c_schmitz | Note Added: 31290 | |
2014-12-17 12:49 | c_schmitz | Assigned To | => c_schmitz |
2014-12-17 12:49 | c_schmitz | Status | new => feedback |
2014-12-21 20:33 | tremlin | Note Added: 31326 | |
2014-12-21 20:33 | tremlin | Status | feedback => assigned |
2014-12-21 22:46 | c_schmitz | Note Added: 31327 | |
2014-12-30 11:26 | c_schmitz | Note Added: 31396 | |
2014-12-30 11:29 | c_schmitz | Changeset attached | => LimeSurvey master 72f53da1 |
2014-12-30 11:29 | c_schmitz | Note Added: 31397 | |
2014-12-30 11:29 | c_schmitz | Resolution | open => fixed |
2014-12-30 11:33 | c_schmitz | Changeset attached | => LimeSurvey 2.06 77357a0b |
2014-12-30 11:33 | c_schmitz | Note Added: 31398 | |
2014-12-30 11:34 | c_schmitz | Status | assigned => resolved |
2014-12-30 11:34 | c_schmitz | Fixed in Version | => 2.05+ |
2014-12-31 15:48 | tremlin | Note Added: 31406 | |
2015-02-11 15:57 | c_schmitz | Note Added: 31674 | |
2015-02-11 15:57 | c_schmitz | Status | resolved => closed |