View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
19838Bug reportsPluginspublic2024-12-04 16:47
ReporterMazi Assigned Totibor.pacalat  
PrioritynoneSeverityblock 
Status resolvedResolutionfixed 
Product Version6.6.x 
Summary19838: Plugin upload doesn't allow LSS, LSA, LSG and LSQ files
Description

Some plugins come with their own demo surveys or questions/groups. It looks like LS 6.x blocks these files during plugin import without notice. But I am pretty sure this worked fine at some older versions as well as LS 3.x and 5.x because we have several plugins with a demo survey shipped.

Config shows that lss, lsa, lsg, lsq is missing at:
'allowedpluginuploads' => 'gif,ico,jpg,png,css,js,map,json,eot,otf,ttf,woff,txt,md,xml,woff2,twig,php,html,po,mo,xsd

Steps To Reproduce

Steps to reproduce

Import a plugin which contains an lss fiel for example.

Expected result

LSS, LSA, LSG and LSQ should be allowed file types to be imported.

Actual result

Files get skipped without further notice.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)6.6.8
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL
Server OS (if known)Ubuntu 20
Webserver software & version (if known)Apache 2.0
PHP Version8.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2024-11-15 15:24

updater   ~81401

@gabrieljenik bug reported as requested.
@tinor.pacalat, you may want to assign this to Gabriel, I was discussing the issue with him because one of his plugins doesn't work any more due to these limitations.
@DenisChenu this may affect your plugins as well.

DenisChenu

DenisChenu

2024-11-15 17:12

developer   ~81404

@mazi : yes, but i don't care of demo file in plugin : i start to remove it from generated zip with .gitattributes / export-ignore

gabrieljenik

gabrieljenik

2024-12-04 15:44

manager   ~81578

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

Issue History

Date Modified Username Field Change
2024-11-15 15:22 Mazi New Issue
2024-11-15 15:24 Mazi Note Added: 81401
2024-11-15 15:24 Mazi Bug heat 0 => 2
2024-11-15 15:35 tibor.pacalat Assigned To => gabrieljenik
2024-11-15 15:35 tibor.pacalat Status new => assigned
2024-11-15 17:12 DenisChenu Note Added: 81404
2024-11-15 17:12 DenisChenu Bug heat 2 => 4
2024-12-04 15:44 gabrieljenik Assigned To gabrieljenik => DenisChenu
2024-12-04 15:44 gabrieljenik Status assigned => ready for code review
2024-12-04 15:44 gabrieljenik Note Added: 81578
2024-12-04 15:44 gabrieljenik Bug heat 4 => 6
2024-12-04 16:35 DenisChenu Assigned To DenisChenu => tibor.pacalat
2024-12-04 16:35 DenisChenu Status ready for code review => ready for testing
2024-12-04 16:47 tibor.pacalat Status ready for testing => resolved
2024-12-04 16:47 tibor.pacalat Resolution open => fixed