View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
07620Bug reportsSurvey takingpublic2013-03-05 08:45
Reporterjoujou Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Fixed in Version2.00+ 
Summary07620: Problem validating accents with regexp validation
Description

The regexp validation fails with string containing accents, if the regexp has a max length.
This is a dumb regexp that will fail if one writes 11 "à":
/^[à]{1,10}$/

The textarea reacts as expected but when the page is submitted, the browser stays on the same page without any error message.
It seems that in a second step, accents counts more (charset problem ?).

Steps To Reproduce

Create a question "very long text".
Use this validation rule: /^[à]{1,10}$/
Type ten times the letter "à"
submit the page

Additional Information

French language is used

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)121127
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5
Server OS (if known)redhat
Webserver software & version (if known)apache
PHP Version5.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2013-02-28 16:00

administrator   ~24436

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

c_schmitz

c_schmitz

2013-03-02 16:34

administrator   ~24485

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

c_schmitz

c_schmitz

2013-03-05 08:45

administrator   ~24535

2.00+ Build 130305 released.

Related Changesets

LimeSurvey: master b89ea901

2013-02-28 14:59:38

c_schmitz

Details Diff
Fixed issue 07620: Problem validating accents with regular expression validation Affected Issues
07620
mod - application/helpers/expressions/em_core_helper.php Diff File

LimeSurvey: 2.1 3ed37a45

2013-02-28 14:59:38

c_schmitz

Details Diff
Fixed issue 07620: Problem validating accents with regular expression validation Affected Issues
07620
mod - application/helpers/expressions/em_core_helper.php Diff File

Issue History

Date Modified Username Field Change
2013-02-27 16:48 joujou New Issue
2013-02-28 15:56 c_schmitz Assigned To => c_schmitz
2013-02-28 15:56 c_schmitz Status new => assigned
2013-02-28 15:59 c_schmitz Status assigned => resolved
2013-02-28 15:59 c_schmitz Fixed in Version => 2.00+
2013-02-28 15:59 c_schmitz Resolution open => fixed
2013-02-28 16:00 c_schmitz Changeset attached => LimeSurvey master b89ea901
2013-02-28 16:00 c_schmitz Note Added: 24436
2013-03-02 16:34 c_schmitz Changeset attached => LimeSurvey 2.1 3ed37a45
2013-03-02 16:34 c_schmitz Note Added: 24485
2013-03-05 08:45 c_schmitz Note Added: 24535
2013-03-05 08:45 c_schmitz Status resolved => closed