View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
15022Bug reportsOtherpublic2021-11-03 09:15
Reportertassoman Assigned Togalads  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version3.17.x 
Summary15022: KCFinder not working behind reversed proxy » REF: issue 12629
Description

Ciao,
we have problems using KCFinder file uploader applet as described in issue 12629. That's because KCFinder is crafting cookies for internal url while our LS installation respond to external URL aka: $config['publicurl'] setting.

It happens Inside survey's «Resource» page, and trying to upload attachments in email templates.

The result is the applet gui is loaded but it's empty (no Files directory) and when you click any button (for example Reload) it breaks giving back the protocol error (using Firefox).

Steps To Reproduce

Install limesurvey inside a container
Serve it behind another url, reverse proxied
Visit Survey's Resource page
Click any KCFinder GUI button

Additional Information

There are more informations on KCFinder cookie session management documentation
https://kcfinder.sunhater.com/integrate#session

I've attached screenshots to this issue:
[1] Survey's Resources after click
[2] LS cookies set using $config['publicurl']
[3] KCFinder cookies set for internal url

TagsNo tags attached.
Attached Files
ls-tq.png (76,543 bytes)   
ls-tq.png (76,543 bytes)   
c-tq.png (70,528 bytes)   
c-tq.png (70,528 bytes)   
c-lstaw.png (68,129 bytes)   
c-lstaw.png (68,129 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)3.17.master
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionMySql
Server OS (if known)Docker
Webserver software & version (if known)Apache 2.4
PHP VersionPHP 7.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2021-03-10 22:53

administrator   ~63224

Please update to the latest version and check if the bug can still be reproduced. Thank you.

galads

galads

2021-11-03 09:14

reporter   ~67070

Hello tassoman,
I checked this with the latest version and could not reproduce, so this is most likely fixed for good.
Therefore, I am closing this issue. If you still can reproduce the issue using the latest version, please feel free to re-open the issue.
Thank you!

galads

Issue History

Date Modified Username Field Change
2019-07-03 16:35 tassoman New Issue
2019-07-03 16:35 tassoman File Added: ls-tq.png
2019-07-03 16:35 tassoman File Added: c-tq.png
2019-07-03 16:35 tassoman File Added: c-lstaw.png
2021-03-10 22:53 ollehar Status new => feedback
2021-03-10 22:53 ollehar Note Added: 63224
2021-11-03 09:14 galads Note Added: 67070
2021-11-03 09:14 galads Bug heat 2 => 4
2021-11-03 09:15 galads Assigned To => galads
2021-11-03 09:15 galads Status feedback => closed
2021-11-03 09:15 galads Resolution open => fixed