View Issue Details

This issue affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
20392Bug reportsUsability/user experiencepublic2025-12-28 13:22
ReporterHansemanMUC Assigned To 
PrioritynoneSeveritypartial_block 
Status newResolutionopen 
Product Version6.12.x 
Summary20392: URL placeholders such as {SURVEYURL} are expanded to invalid URLs
Description

In my LimeSurvey installation (6.16.2), when I create surveys, the URLs linking to the survey are wrong.
I have seen this in several places:

  • Emails
  • Link to the survey in the UI
  • QR codes

For example, if my limesurvey-site is limesurvey.example.com, the links look like this:

https://limesurvey.example.comhttps://limesurvey.example.com/index.php/xxyyzz?lang=de-informal

After removing the first part (https://limesurvey.example.com), the link works. However, when sending out Emails or giving away QR codes, this prevents users from taking the survey.

Details for my installation:

  • docker based installation (using martialblog/limesurvey:6-apache from 2025-12-26)
  • traefik is used as a reverse proxy

config.php:

<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
return array(
  'components' => array(
    'db' => array(
      'connectionString' => 'mysql:host=lime-db;port=3306;dbname=limesurvey;',
      'emulatePrepare' => true,
      'username' => 'limesurvey',
      'password' => 'xxxxxxxxxf',
      'charset' => 'utf8mb4',
      'tablePrefix' => 'lime_',
    ),
    //'session' => array (
    //   'class' => 'application.core.web.DbHttpSession',
    //   'connectionID' => 'db',
    //   'sessionTableName' => '{{sessions}}',
    //),
    'urlManager' => array(
      'urlFormat' => 'path',
      'rules' => array(),
      'showScriptName' => true,
    ),
    'request' => array(
      'baseUrl' => 'https://limesurvey.example.com',
     ),
  ),
  'config'=>array(
    'publicurl'=>'https://limesurvey.example.com',
    'debug'=>0,
    'debugsql'=>0,
    'mysqlEngine' => 'MyISAM',
  )
);
Steps To Reproduce

Steps to reproduce

Create a survey, add participants, send invite email

Expected result

correct URL in the email or in the QR code generated by UI:
https://limesurvey.example.com/index.php/xxyyzz?lang=de-informal

Actual result

actual URL:
https://limesurvey.example.comhttps://limesurvey.example.com/index.php/xxyyzz?lang=de-informal

TagsNo tags attached.
Attached Files
Bug heat0
Complete LimeSurvey version number (& build)LimeSurvey Community Edition Version 6.16.2 (martialblog/limesurvey:6-apache)
I will donate to the project if issue is resolvedNo
BrowserFirefox and Chrome
Database type & versionmysql 5.7 (docker.io/mysql:5.7)
Server OS (if known)Linux
Webserver software & version (if known)Apache (2.4.65-1~deb12u1)
PHP VersionPHP 8.3.28 (cli) (built: Dec 8 2025 22:57:17) (NTS)

Users monitoring this issue

There are no users monitoring this issue.

Activities

Issue History

Date Modified Username Field Change
2025-12-28 13:22 HansemanMUC New Issue
2025-12-28 13:22 HansemanMUC File Added: survey_archive_197329.lsa