View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
03574Bug reportsSurvey takingpublic2009-08-19 12:33
Reporteruser4572Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.85+ 
Fixed in Version1.85+ 
Summary03574: Apostrophe (single quote) in free text crashes the survey
Description

As it has been reported in forums and acknowledged by rakete (Re:Problem with apostrophe and mysql in survey answer 4 Days, 17 Hours ago Karma: 8
looks like a bug from the past came back into the code... Can't find the ticket at the moment, but I am 99% sure, we had a similar Problem fixed half a year ago...), it appears that old bug was re-introduced. Every time we tried survey with free text fields and someone entered text containing apostrophe (eg I'm here), survey crashed after clicking on NEXT.

This has been fixed by temporarily switching magic_quotes_gpc=on but that is not desirable.

TagsNo tags attached.
Attached Files
save.php (25,867 bytes)
Bug heat8
Complete LimeSurvey version number (& build)7460
I will donate to the project if issue is resolved
BrowserAny
Database type & versionmySQL 5.0.45
Server OS (if known)Linux surveys 2.6.22.19-0.3-default #1 SMP 2009-05-27 10:35:34 +0200 x86_64
Webserver software & version (if known)Apache/2.2.4 (Linux/SUSE) with mod_ssl/2.2.4 & OpenSSL/0.9.8e
PHP Version5.2.9

Users monitoring this issue

There are no users monitoring this issue.

Activities

momo4444

momo4444

2009-08-19 06:45

reporter   ~09170

Installed Version 1.85+ (7460)and still have the problem

Mazi

Mazi

2009-08-19 11:16

updater   ~09172

Seems to be a serious issue, reported by several users, see http://www.limesurvey.org/en/support/forums/9-german-forum/29813-fehler-beim-speicher-einer-umfrage.html#29823

user4572

2009-08-19 11:24

  ~09173

I also think that it is a serious issue, BUT! At least here, we have been able to fix it by setting magic_quotes_gpc=on and so far we have not seen any side effects on other surveys - having 10+ live right now...

user4572

2009-08-19 11:46

  ~09174

Excuse me, but can you tell me how it was resolved? I am running latest 1.85+ and it is there... :-(

c_schmitz

c_schmitz

2009-08-19 11:53

administrator   ~09175

Attached fixed file.

user4572

2009-08-19 12:00

  ~09176

Have not done exactly rigorous testing, but seems to be fixed... THANKS!

Issue History

Date Modified Username Field Change
2009-08-17 06:12 user4572 New Issue
2009-08-17 06:12 user4572 Status new => assigned
2009-08-17 06:12 user4572 Assigned To => user372
2009-08-17 06:12 user4572 Build Number => 7460
2009-08-17 06:12 user4572 Browser => Any
2009-08-17 06:12 user4572 Database & DB-Version => mySQL 5.0.45
2009-08-17 06:12 user4572 Operating System (Server) => Linux surveys 2.6.22.19-0.3-default #1 SMP 2009-05-27 10:35:34 +0200 x86_64
2009-08-17 06:12 user4572 Webserver => Apache/2.2.4 (Linux/SUSE) with mod_ssl/2.2.4 & OpenSSL/0.9.8e
2009-08-17 06:12 user4572 PHP Version => 5.2.9
2009-08-17 06:16 user372 Assigned To user372 => c_schmitz
2009-08-19 06:44 momo4444 File Added: limesurvey_survey_73392.csv
2009-08-19 06:45 momo4444 Note Added: 09170
2009-08-19 11:16 Mazi Note Added: 09172
2009-08-19 11:24 user4572 Note Added: 09173
2009-08-19 11:42 c_schmitz Status assigned => resolved
2009-08-19 11:42 c_schmitz Fixed in Version => 1.85+
2009-08-19 11:42 c_schmitz Resolution open => fixed
2009-08-19 11:43 c_schmitz File Added: save.php
2009-08-19 11:46 user4572 Note Added: 09174
2009-08-19 11:53 c_schmitz Note Added: 09175
2009-08-19 12:00 user4572 Note Added: 09176
2009-08-19 12:33 c_schmitz Status resolved => closed
2010-10-25 00:18 c_schmitz Category Survey at Runtime => Survey taking