View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05336Bug reportsOtherpublic2011-07-11 17:53
ReporterTMSWhite Assigned Toc_schmitz  
PrioritylowSeverityminor 
Status closedResolutionno change required 
Product Version1.91+ 
Summary05336: in-line HTML editor prevents use of {URL}, {QUESTIONHELP}, and {QUESTIONHELPPLAINTEXT}
Description

It replaces them as follows:

{QUESTIONHELP} => {QUESTIon<x>help}
{QUESTIONHELPPLAINTEXT} => {QUESTIon<x>helpPLAINTEXT}
{URL} => {ur<x>l}

Steps To Reproduce

Edit a question, click on the button to edit the source HTML directly, and insert:

<table>
<tr><th>Name</th><th>Value</th></tr>
<tr><td>QUESTIONHELP</td><td>{QUESTIONHELP}</td></tr>
<tr><td>QUESTIONHELPPLAINTEXT</td><td>{QUESTIONHELPPLAINTEXT}</td></tr>
<tr><td>URL</td><td>{URL}</td></tr>
</table>

Then click Save, then re-edit the question.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)10470
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionMysql 5
Server OS (if known)Windows XP
Webserver software & version (if known)Apache 2
PHP Version5.2
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

mdekker

mdekker

2011-07-11 09:56

reporter   ~15722

I think that those replacements are only for templates, not questions.

c_schmitz

c_schmitz

2011-07-11 17:53

administrator   ~15725

yep, and the <x> are inserted by the XSS filter. If you switch it off (security risk if you have non-trusted users in the administration) then it will work.

Issue History

Date Modified Username Field Change
2011-07-11 08:14 TMSWhite New Issue
2011-07-11 09:56 mdekker Note Added: 15722
2011-07-11 17:53 c_schmitz Note Added: 15725
2011-07-11 17:53 c_schmitz Status new => closed
2011-07-11 17:53 c_schmitz Assigned To => c_schmitz
2011-07-11 17:53 c_schmitz Resolution open => no change required