View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
16222Bug reportsExpression Managerpublic2026-11-02 16:02
ReporterJMI Assigned Toc_schmitz  
PrioritylowSeverityfeature 
Status closedResolutionfixed 
Product Version3.22.15 
Summary16222: Simple cote \' and ouble quote in free text : difference in PHP and JS and hard to test
Description

We can't use simple cote in a free text.

Steps To Reproduce

Test with d'Artagnan in au short Free Text or Arrays Texts

Additional Information

Same problem in 3.22.15 and Version 4.2.2+200504

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)Version 3.22.15+200505
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmariadb-check Ver 2.7.4-MariaDB Distrib 10.3.22-MariaDB, for debian-linux-gnu (x86_64)
Server OS (if known)4.19.0-9-amd64 #1 SMP Debian 4.19.118-1 (2020-04-26) x86_64 GNU/Linux
Webserver software & version (if known)Apache/2.4.38 (Debian)
PHP VersionPHP Version 7.0.33-0+deb9u7
Git branch / Pull Request URLhttps://github.com/LimeSurvey/LimeSurvey/pull/5486

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2020-05-04 15:51

developer   ~57524

We can't use simple cote in a free text.

No : we can use a simple quote … but we can not test it .

JMI

JMI

2020-05-04 15:54

reporter   ~57525

Last edited: 2020-12-28 11:20

We should be able to use it !

DenisChenu

DenisChenu

2020-05-04 15:59

developer   ~57526

Last edited: 2020-12-28 11:20

Same issue in 4.X
Different behaviour in PHP and JS

No idea on possible solution …
And must check with < and > too …

c_schmitz

c_schmitz

2026-10-30 12:39

administrator   ~87018

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=41176

LimeBot

LimeBot

2026-11-02 16:02

administrator   ~87165

Fixed in Release 7.9.1+261102

Related Changesets

LimeSurvey: master 55dae518

2026-10-30 12:39

c_schmitz

Committer: GitHub


Details Diff
Fixed issue 16222: Expressions using a text answer with quotes or curly braces gave a different result on the same page than on later pages (#5486) Affected Issues
16222
mod - assets/packages/expressions/em_javascript.js Diff File

Issue History

Date Modified Username Field Change
2020-05-04 15:48 JMI New Issue
2020-05-04 15:48 JMI File Added: limesurvey_survey_992316.lss
2020-05-04 15:51 DenisChenu Note Added: 57524
2020-05-04 15:54 JMI Note Added: 57525
2020-05-04 15:59 DenisChenu Note Added: 57526
2020-05-04 15:59 DenisChenu File Added: Capture d’écran du 2020-05-04 15-57-40.png
2020-05-04 15:59 DenisChenu File Added: Capture d’écran du 2020-05-04 15-57-48.png
2020-05-04 15:59 DenisChenu File Added: limesurvey_survey_quotesEntities.lss
2020-05-05 09:49 DenisChenu Summary Simple cote \' in free text or arrays Text => Simple cote \' and ouble quote in free text : difference in PHP and JS and hard to test
2020-05-05 16:54 DenisChenu Category _ Unknown => Expression Manager
2020-12-28 11:19 cdorin Status new => confirmed
2020-12-28 11:19 cdorin Priority none => low
2020-12-28 11:19 cdorin Sync to Zoho Project => |Yes|
2020-12-28 11:20 LimeBot Zoho Projects ID => 85781000000460037
2026-10-29 19:33 c_schmitz Assigned To => c_schmitz
2026-10-29 19:33 c_schmitz Status confirmed => ready for code review
2026-10-29 19:35 c_schmitz Git branch / Pull Request URL => https://github.com/LimeSurvey/LimeSurvey/pull/5486
2026-10-30 12:39 c_schmitz Changeset attached => LimeSurvey master 55dae518
2026-10-30 12:39 c_schmitz Note Added: 87018
2026-10-30 12:39 c_schmitz Status ready for code review => resolved
2026-10-30 12:39 c_schmitz Resolution open => fixed
2026-10-30 12:39 c_schmitz Bug heat 4 => 6
2026-11-02 16:02 LimeBot Note Added: 87165
2026-11-02 16:02 LimeBot Status resolved => closed
2026-11-02 16:02 LimeBot Bug heat 6 => 8