View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
12785Bug reportsSurvey editingpublic2018-01-15 10:41
Reporterpdaubresse Assigned Toc_schmitz  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.7x.x 
Fixed in Version2.7x.x 
Summary12785: Some placeholders in e-mail templates do not take 'publicurl' setting into account
Description

We setup a Limesurvey server in our premises. It is published on Internet through a reverse proxy on https. But internal communication between the reverse proxy and the LS server is in http. By default the URL produced is http://lsname.example.com:443/ ,whereas it should be https://lsname.example.com/
In order to solve this issue I changed the setting 'publicurl' in the config.php file in the /application/config/ folder. It works well for placeholders used in invitation e-mails, but it doesn't work for placeholders used in notification e-mails (basic and admin notifications). These placeholders are {RELOADURL}, {VIEWRESPONSEURL}, {EDITRESPONSEURL} and{STATISTICSURL} These placeholders use the wrong URL : http://lsname.example.com:443/
I guess these placeholders should follow the same treatment as the other placeholders, in order to take into account the 'publicurl' value in the settings.php

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)Version 2.71.1+170927
I will donate to the project if issue is resolvedYes
BrowserFirefox
Database type & versionMySQL 5.5.44-0
Server OS (if known)Ubuntu 14.04.1
Webserver software & version (if known)Apache 2.4.7
PHP VersionPHP Version 5.5.9

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2017-10-13 15:44

administrator   ~44677

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

c_schmitz

c_schmitz

2017-10-13 15:59

administrator   ~44679

Please find the fix above - please test and let us know if it works alright now.

c_schmitz

c_schmitz

2017-10-14 12:55

administrator   ~44686

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

c_schmitz

c_schmitz

2017-10-20 20:45

administrator   ~44769

Feedback please?

pdaubresse

pdaubresse

2017-10-23 08:38

reporter   ~44782

Fix works like a charm.

c_schmitz

c_schmitz

2017-10-23 10:16

administrator   ~44783

Great!
We are looking forward to your donation. See https://donate.limesurvey.org

c_schmitz

c_schmitz

2018-01-15 10:41

administrator   ~45781

Version 3.0.3 released.

Related Changesets

LimeSurvey: master e148657b

2017-10-13 15:44:34

c_schmitz

Details Diff
Fixed issue 12785: Some placeholders in e-mail templates do not take 'publicurl' setting into account Affected Issues
12785
mod - application/controllers/RegisterController.php Diff File
mod - application/helpers/frontend_helper.php Diff File

LimeSurvey: master 5be4e584

2017-10-14 12:55:31

c_schmitz

Details Diff
Fixed issue 12785: Some placeholders in e-mail templates do not take 'publicurl' setting into account Affected Issues
12785
mod - application/helpers/frontend_helper.php Diff File

Issue History

Date Modified Username Field Change
2017-10-13 09:36 pdaubresse New Issue
2017-10-13 15:43 c_schmitz Assigned To => c_schmitz
2017-10-13 15:43 c_schmitz Status new => assigned
2017-10-13 15:44 c_schmitz Changeset attached => LimeSurvey master e148657b
2017-10-13 15:44 c_schmitz Note Added: 44677
2017-10-13 15:44 c_schmitz Resolution open => fixed
2017-10-13 15:59 c_schmitz Status assigned => feedback
2017-10-13 15:59 c_schmitz Note Added: 44679
2017-10-14 12:55 c_schmitz Changeset attached => LimeSurvey master 5be4e584
2017-10-14 12:55 c_schmitz Note Added: 44686
2017-10-20 20:45 c_schmitz Note Added: 44769
2017-10-23 08:38 pdaubresse Note Added: 44782
2017-10-23 08:38 pdaubresse Status feedback => assigned
2017-10-23 10:16 c_schmitz Status assigned => resolved
2017-10-23 10:16 c_schmitz Fixed in Version => 2.7x.x
2017-10-23 10:16 c_schmitz Note Added: 44783
2018-01-15 10:41 c_schmitz Note Added: 45781
2018-01-15 10:41 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing