View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04781 | Bug reports | Survey participants (Tokens) | public | 2010-12-03 00:32 | 2010-12-15 13:43 |
Reporter | Assigned To | c_schmitz | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.90+ | ||||
Fixed in Version | 1.90+ | ||||
Summary | 04781: Using apostrophe in tokens search box causes SQL syntax error | ||||
Description | In the Data view control page of Token administration utility, if you put an apostrophe in the string you search for, and press "search", you get an unhandled SQL exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'amico%' OR lastname LIKE '%d'amico%' OR email LIKE '%d'amico%' OR emailstatus LI' at line 1:SELECT * FROM search string was "d'amico" - frequent possibility for italian surnames. probably the apostrophe should be escaped. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 9229 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Any | ||||
Database type & version | Mysql 5 | ||||
Server OS (if known) | Linux CentOS 2.6.18-164.2.1.el5 | ||||
Webserver software & version (if known) | Apache 2 | ||||
PHP Version | 5.2.10 | ||||
i've tested this on your demo updated version and the apostrophe doesn't cause the sql error but breaks the string: d'amico becomes d\ |
|
Fixed in rev 9612 |
|
Released in 1.90+ version. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-12-03 00:32 |
|
New Issue | |
2010-12-03 00:50 |
|
Note Added: 13679 | |
2010-12-04 01:33 | c_schmitz | Assigned To | => c_schmitz |
2010-12-04 01:33 | c_schmitz | Status | new => assigned |
2010-12-09 15:38 | c_schmitz | Note Added: 13733 | |
2010-12-09 15:38 | c_schmitz | Status | assigned => resolved |
2010-12-09 15:38 | c_schmitz | Fixed in Version | => 1.90+ |
2010-12-09 15:38 | c_schmitz | Resolution | open => fixed |
2010-12-15 13:43 | c_schmitz | Note Added: 13797 | |
2010-12-15 13:43 | c_schmitz | Status | resolved => closed |
2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |