View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
09837 | Bug reports | Survey editing | public | 2015-08-18 20:34 | 2015-09-30 11:01 |
Reporter | jelo | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.06+ | ||||
Fixed in Version | 2.06+ | ||||
Summary | 09837: Quotes are removed in End URL field | ||||
Description | In the End URL field all quotes are removed. EM code like "if(q01_A1.NAOK == "Y", "1", "0")" won't work. | ||||
Steps To Reproduce | Enter quotes and save. Quotes are removed. Both "" and '' will removed. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 150812 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox 39 | ||||
Database type & version | MySQL 5.5.27 | ||||
Server OS (if known) | CentOS 6.6 x86_64 | ||||
Webserver software & version (if known) | Apache 2.2.31 | ||||
PHP Version | 5.5.27 | ||||
Can you give a full URL example ? |
|
There is no need for a full URL, since the quotes are removed when are in the field. Just enter >abc "'< and you get >abc<. I recognized the error, when I was using a complete URL with EMcode. Are you not able to reproduce? |
|
The quotes could be removed because it is not a valid expression or not a valid URL. So I would appreciate a full URL example. |
|
https://HOSTwithScript?lsn={SAVEDID}&test={if(q01_A1.NAOK == "Y", 1, 0)} Workaround without quotes: When using "Y" the quotes are removed and and QA is only having one warning. Question is, why a automatically working filter of quotes is needed at all. The QA check shows most of the errors nicely. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15780 |
|
Fix committed to develop branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15781 |
|
Version 2.06+ Build 150930 released |
|
LimeSurvey: master 4fd58c1a 2015-08-24 12:58 Details Diff |
Fixed issue 09837: Quotes are removed in End URL field |
Affected Issues 09837 |
|
mod - application/core/LSYii_Validators.php | Diff File | ||
LimeSurvey: develop d2b7fcfb 2015-08-24 12:58 Details Diff |
Fixed issue 09837: Quotes are removed in End URL field |
Affected Issues 09837 |
|
mod - application/core/LSYii_Validators.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-08-18 20:34 | jelo | New Issue | |
2015-08-21 14:27 | c_schmitz | Note Added: 32971 | |
2015-08-21 14:27 | c_schmitz | Assigned To | => c_schmitz |
2015-08-21 14:27 | c_schmitz | Status | new => feedback |
2015-08-21 14:34 | jelo | Note Added: 32972 | |
2015-08-21 14:34 | jelo | Status | feedback => assigned |
2015-08-21 14:44 | c_schmitz | Note Added: 32975 | |
2015-08-21 14:54 | jelo | Note Added: 32976 | |
2015-08-24 12:59 | c_schmitz | Changeset attached | => LimeSurvey master 4fd58c1a |
2015-08-24 12:59 | c_schmitz | Note Added: 32994 | |
2015-08-24 12:59 | c_schmitz | Resolution | open => fixed |
2015-08-24 12:59 | c_schmitz | Status | assigned => resolved |
2015-08-24 12:59 | c_schmitz | Fixed in Version | => 2.06+ |
2015-08-24 13:00 | c_schmitz | Changeset attached | => LimeSurvey develop d2b7fcfb |
2015-08-24 13:00 | c_schmitz | Note Added: 32995 | |
2015-09-30 11:01 | c_schmitz | Note Added: 33238 | |
2015-09-30 11:01 | c_schmitz | Status | resolved => closed |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |