View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05394Bug reportsSurvey editingpublic2011-08-11 21:42
ReporterDenisChenu Assigned ToDenisChenu  
PriorityurgentSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.91+ 
Target Version1.91+Fixed in Version1.91+ 
Summary05394: In admin part, all sid are bad. Without 2 and other caracter.
Description

When i create a survey, if the survey have certain number in the sid, the link gave me false number.

See with 2 and 9 for example

Steps To Reproduce

Add a survey, see the survey link.

I have http://mysurveyurl/index.php?sid=55&lang=fr with a sid of 25598 for example.

Additional Information

Patch in common_functions.php, line 4385

  • $sNicetext = preg_replace('/[\x0a\x0b\x0c\x0d\x85\x2028\x2029]/', ' ', $sNicetext);
  • $sNicetext = preg_replace('/[\x0a\x0b\x0c\x0d\x85\x{2028}\x{2029}]/', ' ', $sNicetext);

:)

Can patch, but submit it to have a release after the patch ;)

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)10670
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.1.49
Server OS (if known)debian/linux
Webserver software & version (if known)apache
PHP VersionPHP Version 5.3.3-7

Relationships

child of 05389 closedc_schmitz v character not displayed after update to build 10647 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2011-08-11 16:23

developer   ~16018

Fixed in 10686

c_schmitz

c_schmitz

2011-08-11 18:30

administrator   ~16026

Doesn't
$sNicetext = preg_replace('/[\x0a\x0b\x0c\x0d\x85\x2028\x2029]/u', ' ', $sNicetext);
work?

DenisChenu

DenisChenu

2011-08-11 20:34

developer   ~16035

Last edited: 2011-08-11 20:35

Carsten, you have patch patch ,

$sNicetext = preg_replace('/[\x0a\x0b\x0c\x0d\x85\x{2028}\x{2029}]/u', ' ', $sNicetext);

http://limesurvey.svn.sourceforge.net/viewvc/limesurvey?view=revision&revision=10686

Are OK.

:)

c_schmitz

c_schmitz

2011-08-11 21:42

administrator   ~16037

THank you ;)

Issue History

Date Modified Username Field Change
2011-08-11 15:01 DenisChenu New Issue
2011-08-11 15:10 DenisChenu Assigned To => DenisChenu
2011-08-11 15:10 DenisChenu Status new => assigned
2011-08-11 16:14 DenisChenu Relationship added child of 05389
2011-08-11 16:23 DenisChenu Note Added: 16018
2011-08-11 16:23 DenisChenu Status assigned => closed
2011-08-11 16:23 DenisChenu Resolution open => fixed
2011-08-11 16:23 DenisChenu Fixed in Version => 1.91+
2011-08-11 18:14 DenisChenu Status closed => feedback
2011-08-11 18:14 DenisChenu Resolution fixed => reopened
2011-08-11 18:15 DenisChenu Status feedback => new
2011-08-11 18:15 DenisChenu Status new => assigned
2011-08-11 18:29 DenisChenu Status assigned => closed
2011-08-11 18:29 DenisChenu Resolution reopened => fixed
2011-08-11 18:30 c_schmitz Note Added: 16026
2011-08-11 20:32 DenisChenu Status closed => feedback
2011-08-11 20:32 DenisChenu Resolution fixed => reopened
2011-08-11 20:34 DenisChenu Note Added: 16035
2011-08-11 20:34 DenisChenu Status feedback => assigned
2011-08-11 20:35 DenisChenu Note Edited: 16035
2011-08-11 20:35 DenisChenu Status assigned => confirmed
2011-08-11 21:42 c_schmitz Note Added: 16037
2011-08-11 21:42 c_schmitz Status confirmed => closed
2011-08-11 21:42 c_schmitz Resolution reopened => fixed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing