View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
19792Bug reportsTheme editorpublic2024-10-07 12:02
ReporterOMdev Assigned Totibor.pacalat  
PrioritynoneSeveritytweak 
Status feedbackResolutionopen 
Product Version6.5.x 
Summary19792: We upload the SVG file into the template, but it will not be reflected in the dropdown.
Description

We upload the SVG file into the template , but it will not be reflected in the dropdown.

Steps To Reproduce

Steps to reproduce

1. Take the vanilla template and extend it.
2. Upload the SVG file.
3. When we try to change the logo, the SVG file is not shown in the dropdown.

Expected result

When we upload an SVG file, it will show in the dropdown.

Actual result

When we upload an SVG file, it will show in the dropdown.
TagsNo tags attached.
Attached Files
1.png (7,570 bytes)   
1.png (7,570 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)Version 6.5.9+240521
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionNA
Server OS (if known)
Webserver software & version (if known)
PHP VersionNA

Users monitoring this issue

OMdev

Activities

DenisChenu

DenisChenu

2024-10-07 11:51

developer   ~81174

Due to potential security issue SVG theme upload are disable by default.
You need to allow it manually via config.php file

https://github.com/LimeSurvey/LimeSurvey/blob/bbdb4dfa8ec79774660973280dff7abb7dbbae0f/application/config/config-defaults.php#L98
https://github.com/LimeSurvey/LimeSurvey/blob/bbdb4dfa8ec79774660973280dff7abb7dbbae0f/application/config/config-defaults.php#L100

Maybe an issue for manual ?
Ping @tibor.pacalat

DenisChenu

DenisChenu

2024-10-07 11:52

developer   ~81175

Move it to manual/documentation issue ?

https://manual.limesurvey.org/index.php?search=SVG

DenisChenu

DenisChenu

2024-10-07 11:54

developer   ~81176

Or maybe :

Steps :

  1. Take the vanilla template and extend it.
  2. Upload the SVG file.

Expected result

Show n error or warning

Issue History

Date Modified Username Field Change
2024-10-07 11:36 OMdev New Issue
2024-10-07 11:36 OMdev File Added: 1.png
2024-10-07 11:51 DenisChenu Note Added: 81174
2024-10-07 11:51 DenisChenu Bug heat 0 => 2
2024-10-07 11:52 DenisChenu Assigned To => tibor.pacalat
2024-10-07 11:52 DenisChenu Status new => feedback
2024-10-07 11:52 DenisChenu Note Added: 81175
2024-10-07 11:54 DenisChenu Note Added: 81176
2024-10-07 12:02 OMdev Issue Monitored: OMdev
2024-10-07 12:02 OMdev Bug heat 2 => 4