View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
08157Bug reportsSurvey takingpublic2013-10-21 09:28
Reporterjweberhofer Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary08157: Pasting tokens with leading whitespace-caracters
Description

Analyzing a problem reported by users I have recognized that copying tokens from an E-Mail to the login-form can cause problems when Firefox is used at least.

When the token starts with spaces (and possibly with new-line characters) the token is accepted, but after submitting the first page, a error page is displayed saying that the user needs a valid token;

When the user refreshes opens the page again, he can continue to edit the form and will receive a error page (or a blank page) after finishing and saving the last page.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)130802
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionMySQL 5.5.28
Server OS (if known)Linux
Webserver software & version (if known)Apache 2.2.21
PHP Version5.3.8

Relationships

related to 08280 closedc_schmitz tokens with trailed space and/or wrong upper-/lower-case character wrongly accepted 

Users monitoring this issue

mfaber

Activities

jweberhofer

jweberhofer

2013-09-13 15:21

reporter   ~26218

Forgot to mention: In the lime_survey_XXX table the token will be stored with the leading whitespace characters;

In the list of tokens the entry is not marked as finished, even though it is.

This stuff can be in relation to reports in the forum saying that surveys will not be stored or are not marked as finished...

c_schmitz

c_schmitz

2013-09-26 11:13

administrator   ~26380

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

c_schmitz

c_schmitz

2013-09-26 11:14

administrator   ~26381

Tokens with leading whitespace are now properly checked and access denied in general.

c_schmitz

c_schmitz

2013-09-26 11:19

administrator   ~26385

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

c_schmitz

c_schmitz

2013-09-29 15:27

administrator   ~26427

Version 2.00+ Build 130929 released

Related Changesets

LimeSurvey: master 331518d1

2013-09-26 09:14:24

c_schmitz

Details Diff
Fixed issue 08157: Pasting tokens with leading whitespace-caracters leads to various problems Affected Issues
08157
mod - application/controllers/survey/index.php Diff File
mod - application/helpers/frontend_helper.php Diff File

LimeSurvey: 2.05 238143d4

2013-09-26 09:19:39

c_schmitz

Details Diff
Fixed issue 08157: Pasting tokens with leading whitespace-caracters leads to various problems Affected Issues
08157
mod - application/helpers/frontend_helper.php Diff File

Issue History

Date Modified Username Field Change
2013-09-13 15:16 jweberhofer New Issue
2013-09-13 15:21 jweberhofer Note Added: 26218
2013-09-13 18:52 mfaber Issue Monitored: mfaber
2013-09-26 10:52 c_schmitz Assigned To => c_schmitz
2013-09-26 10:52 c_schmitz Status new => assigned
2013-09-26 11:13 c_schmitz Changeset attached => LimeSurvey master 331518d1
2013-09-26 11:13 c_schmitz Note Added: 26380
2013-09-26 11:13 c_schmitz Resolution open => fixed
2013-09-26 11:14 c_schmitz Note Added: 26381
2013-09-26 11:14 c_schmitz Status assigned => resolved
2013-09-26 11:14 c_schmitz Fixed in Version => 2.00+
2013-09-26 11:19 c_schmitz Changeset attached => LimeSurvey 2.05 238143d4
2013-09-26 11:19 c_schmitz Note Added: 26385
2013-09-29 15:27 c_schmitz Note Added: 26427
2013-09-29 15:27 c_schmitz Status resolved => closed
2013-10-21 09:28 DenisChenu Relationship added related to 08280
2021-08-02 22:16 guest Bug heat 4 => 6