View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
18657Bug reportsSurvey takingpublic2023-06-20 17:49
Reportergabrieljenik Assigned Toollehar  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version5.6.x 
Summary18657: Encrypted token attributes are shown encrypted when piped into a question body
Description

Seems custom encrypted token attributes are not decrypted before being piped in question bodys.
Caught while working with 18184

Steps To Reproduce

Steps to reproduce

Create a survey with a question.
Create a custom token attribute. Set it to encrypted.
Make the token attribte to be shown on the question body.
Activate the survey.
Launch the survey for a participant
Look at the question body

Expected result

Token attribute is shown decrypted

Actual result

Token attribute is shown Encrypted

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)5.6.7
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL
Server OS (if known)
Webserver software & version (if known)
PHP Version8.0

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2023-02-27 17:04

developer   ~73972

It's not a duplicate this one ?

gabrieljenik

gabrieljenik

2023-02-27 17:20

manager   ~73973

https://github.com/LimeSurvey/LimeSurvey/pull/2948

gabrieljenik

gabrieljenik

2023-02-27 17:36

manager   ~73974

It's not a duplicate this one ?

Duplicate of which one?

DenisChenu

DenisChenu

2023-02-28 10:05

developer   ~73977

I just think it was already reported, i didn't search .

Maybe only on forum

guest

guest

2023-03-22 12:40

viewer   ~74224

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

Related Changesets

LimeSurvey: master b69fe90f

2023-03-22 12:38:40

Gabriel Jenik


Committer: GitHub Details Diff
Fixed issue 18657: Encrypted token attributes are shown encrypted when piped into a question body (#2948)

Co-authored-by: lapiudevgit <devgit@lapiu.biz>
Affected Issues
18657
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2023-02-27 17:00 gabrieljenik New Issue
2023-02-27 17:00 gabrieljenik Issue generated from: 18655
2023-02-27 17:01 gabrieljenik Assigned To => gabrieljenik
2023-02-27 17:01 gabrieljenik Status new => assigned
2023-02-27 17:04 DenisChenu Note Added: 73972
2023-02-27 17:04 DenisChenu Bug heat 0 => 2
2023-02-27 17:20 gabrieljenik Assigned To gabrieljenik => DenisChenu
2023-02-27 17:20 gabrieljenik Status assigned => ready for code review
2023-02-27 17:20 gabrieljenik Note Added: 73973
2023-02-27 17:20 gabrieljenik Bug heat 2 => 4
2023-02-27 17:36 gabrieljenik Note Added: 73974
2023-02-28 10:05 DenisChenu Note Added: 73977
2023-02-28 10:05 DenisChenu Assigned To DenisChenu =>
2023-02-28 10:05 DenisChenu Status ready for code review => ready for testing
2023-03-09 15:05 gabrieljenik Assigned To => ollehar
2023-03-09 15:05 gabrieljenik Status ready for testing => ready for merge
2023-03-22 12:40 Changeset attached => LimeSurvey master b69fe90f
2023-03-22 12:40 guest Note Added: 74224
2023-03-22 12:40 guest Bug heat 4 => 6
2023-03-22 13:14 ollehar Status ready for merge => resolved
2023-03-22 13:14 ollehar Resolution open => fixed
2023-06-20 17:49 c_schmitz Status resolved => closed