View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17862Bug reportsSurvey editingpublic2022-05-02 10:33
ReporterDenisChenu Assigned Togabrieljenik  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.2.x 
Summary17862: Invalid url in admin (usage of HTTP_HOST)
Description

When use proxy or other system : invali url is set in admin part

Steps To Reproduce

Steps to reproduce

get a proxy instance with $_SERVER['SERVER_NAME'] = limesurvey.intra for example
Go to manage amin survey :

  1. Can create survey, can edit globval settings a lot os OK
  2. Add button question in structure goes to limesurvey.intra
  3. Global survey settings tab goes all to limesurvey.intra

Expected result

The link work and don't need to be fixed (usage of relative url)

Actual result

Link use absolute invalid url

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)5.2.12+220131
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2022-02-01 18:11

developer   ~68177

Can be fixed with
'request' => array(
'hostInfo' => 'http://www.example.org/'
),

But need a relative url in admin part, because admin part can have a lot of alias …

DenisChenu

DenisChenu

2022-02-07 11:29

developer   ~68220

Strangely : «Add question» is OK but not «add group»

gabrieljenik

gabrieljenik

2022-04-28 10:08

manager   ~69279

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

LimeBot

LimeBot

2022-05-02 10:33

administrator   ~69338

Fixed in Release 5.3.12+220502

Related Changesets

LimeSurvey: master 9281e80b

2022-04-28 10:08:54

gabrieljenik


Committer: GitHub Details Diff
Fixed issue 17862: Invalid url in admin (usage of HTTP_HOST) (#2282)

Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
Affected Issues
17862
mod - application/views/layouts/sidemenu.php Diff File
mod - assets/packages/adminsidepanel/build.min/js/adminsidepanel.js Diff File
mod - assets/packages/adminsidepanel/build/js/adminsidepanel.js Diff File
mod - assets/packages/adminsidepanel/src/components/subcomponents/_questionsgroups.vue Diff File

Issue History

Date Modified Username Field Change
2022-02-01 18:10 DenisChenu New Issue
2022-02-01 18:11 DenisChenu Note Added: 68177
2022-02-01 18:11 DenisChenu Bug heat 0 => 2
2022-02-07 11:10 galads Status new => confirmed
2022-02-07 11:10 galads Zoho Project Synchronization => |Yes|
2022-02-07 11:29 DenisChenu Note Added: 68220
2022-04-28 10:08 gabrieljenik Changeset attached => LimeSurvey master 9281e80b
2022-04-28 10:08 gabrieljenik Note Added: 69279
2022-04-28 10:08 gabrieljenik Bug heat 2 => 4
2022-04-28 10:08 gabrieljenik Assigned To => gabrieljenik
2022-04-28 10:08 gabrieljenik Resolution open => fixed
2022-05-02 10:33 LimeBot Note Added: 69338
2022-05-02 10:33 LimeBot Status confirmed => closed
2022-05-02 10:33 LimeBot Bug heat 4 => 6