View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
08164Bug reportsSurvey editingpublic2013-09-18 19:29
Reporterandrewz Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionwon't fix 
Product Version2.00+ 
Summary08164: cannot tailor URLs
Description

Tailor injects HTML that leads to broken links like this

<img alt="" src="/otm/1/eyes-<span id='LEMtailor_Q_371_84'>EY</span>.<span id='LEMtailor_Q_371_85'>png</span>

Steps To Reproduce

Type this in a survey question
<img alt="" src="/otm/1/eyes-{foo}.{bar}png</span>

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)130802
I will donate to the project if issue is resolvedNo
BrowserFirefox 23
Database type & versionMySQL 5.1.67-rel14.3
Server OS (if known)Linux 3.2.45-grsec, CentOS 5
Webserver software & version (if known)Apache/2.2.24
PHP Version 5.3.22
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

andrewz

andrewz

2013-09-16 23:08

reporter   ~26257

Same problem after upgrading to Version 2.00+ Build 130913

andrewz

andrewz

2013-09-16 23:16

reporter   ~26258

A workaround is to rewrite the tailoring like this
{if(eyes=='CH','<img src="/otm/1/eyes-CH.jpg" />','')}{if(eyes=='CO','<img src="/otm/1/eyes-CO.png" />','')}{if(eyes=='EY','<img src="/otm/1/eyes-EY.png" />','')}

DenisChenu

DenisChenu

2013-09-17 22:52

developer   ~26266

Hi,

WHere ?

If it's end URL : OK, must be corrected. But in question/group text. EM behaviour use id and jquery to update.

Attended behaviour.

andrewz

andrewz

2013-09-18 18:57

reporter   ~26284

This is question text.

Hmm, that's too bad this is intended behavior because this would be more simple, elegant solution than jQuery (which requires XSS protection to be disabled?).

DenisChenu

DenisChenu

2013-09-18 19:28

developer   ~26285

If question are in another group: there are no span. span only if one question of this EM is in this group.

DenisChenu

DenisChenu

2013-09-18 19:29

developer   ~26286

EM need js to update Expression in same page.

Issue History

Date Modified Username Field Change
2013-09-16 22:49 andrewz New Issue
2013-09-16 23:08 andrewz Note Added: 26257
2013-09-16 23:16 andrewz Note Added: 26258
2013-09-17 22:52 DenisChenu Note Added: 26266
2013-09-18 18:57 andrewz Note Added: 26284
2013-09-18 19:28 DenisChenu Note Added: 26285
2013-09-18 19:28 DenisChenu Assigned To => DenisChenu
2013-09-18 19:28 DenisChenu Status new => assigned
2013-09-18 19:29 DenisChenu Note Added: 26286
2013-09-18 19:29 DenisChenu Status assigned => closed
2013-09-18 19:29 DenisChenu Resolution open => won't fix
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing