View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
09870Bug reportsRemoteControlpublic2015-09-30 11:01
Reporterf70w Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.06+ 
Summary09870: exporte_responses fails with <script> tag in question and "full" question header export
Description

After using the comfort upgrade to update to version 2.06 my exports via json rpc stopped working. The server responded with a http 500 error to any rpc request to export_responses using the "full" option for headers. "code" worked fine.
I traced the problem down to the latest commit in Writer.php (https://github.com/LimeSurvey/LimeSurvey/commit/eb05c36f41a32afa803d72dd9e6bbb4dff699746)

This may fix a problem with HTML entities not being properly converted to clear text, but it seems to create a problem with questions containing JS code.

Steps To Reproduce

add a <script> block to the question source.

Additional Information

After i reversed this commit in my local sourcefile, the export works again.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)eb05c36f41a32afa803d72dd9e6b
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysql
Server OS (if known)ubuntu linux
Webserver software & version (if known)apache
PHP VersionPHP Version 5.5.9-1ubuntu4.11

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2015-09-30 11:01

administrator   ~33223

Version 2.06+ Build 150930 released

Related Changesets

LimeSurvey: master 04486c3f

2015-09-11 09:24:28

c_schmitz

Details Diff
Fixed issue: 9870: RemoteControl export_responses fails with <script> tag in question and "full" question header export
Dev Reverted from commit eb05c36f41a32afa803d72dd9e6bbb4dff699746)
Affected Issues
09870
mod - application/helpers/admin/export/Writer.php Diff File

Issue History

Date Modified Username Field Change
2015-09-07 15:05 f70w New Issue
2015-09-11 11:23 c_schmitz Assigned To => c_schmitz
2015-09-11 11:23 c_schmitz Status new => assigned
2015-09-11 11:28 c_schmitz Status assigned => resolved
2015-09-11 11:28 c_schmitz Fixed in Version => 2.06+
2015-09-11 11:28 c_schmitz Resolution open => fixed
2015-09-11 11:29 c_schmitz Changeset attached => LimeSurvey master 04486c3f
2015-09-30 11:01 c_schmitz Note Added: 33223
2015-09-30 11:01 c_schmitz Status resolved => closed