View Issue Details

This bug affects 1 person(s).
 252
IDProjectCategoryView StatusLast Update
16969Bug reportsSecuritypublic2021-07-13 08:35
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionwon't fix 
Product Version3.25.6 
Summary16969: Allow new file after update
Description

After this commit : https://github.com/LimeSurvey/LimeSurvey/commit/756c1687ab30cebe8849aa9ca9ffda79cd6ed647

If admin user disallow gif and ico : it's allwed again

Steps To Reproduce
  • Use 3.25.6+201229
  • set allowedthemeuploads to jpg,png,css,js,map,json,eot,ttf,woff,txt,md,xml,woff2,twig
  • update to 3.25.6+201229
  • can upload ico file
Additional Information

https://github.com/LimeSurvey/LimeSurvey/commit/68ce18e22194171e1c56c27f36ad7ce5b34adc8a#commitcomment-45721331

We can check both

&& in_array($extension,explode(",",Yii::app()->getConfig('allowedthemeuploads')))
&& in_array($extension,array('ico','jpg','png','jpe','webp','gif'))
TagsNo tags attached.
Bug heat252
Complete LimeSurvey version number (& build)3.25.7+210113
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

c_schmitz

c_schmitz

2021-07-13 08:35

administrator   ~65407

Yeah, it is not perfect but checking for both would also not be correct so I we will leave it as it is.

Issue History

Date Modified Username Field Change
2021-01-12 15:04 DenisChenu New Issue
2021-01-12 15:04 DenisChenu Status new => assigned
2021-01-12 15:04 DenisChenu Assigned To => c_schmitz
2021-07-13 08:35 c_schmitz Status assigned => closed
2021-07-13 08:35 c_schmitz Resolution open => won't fix
2021-07-13 08:35 c_schmitz Note Added: 65407