View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
16613 | Bug reports | Plugins | public | 2020-08-24 12:42 | 2021-03-19 10:33 |
Reporter | Dietrich Streifert | Assigned To | LimeBot | ||
Priority | normal | Severity | minor | ||
Status | feedback | Resolution | open | ||
Product Version | 4.3.10 | ||||
Summary | 16613: plugin manager ommits installation of files in path upload/plugins/limeMpdf/views/subview/svg when installing limeMpdf | ||||
Description | I've installed the limeMpdf plugin from https://gitlab.com/SondagesPro/coreAndTools/limeMpdf and used the test links offered in Plugin Manager present for the limeMpdf plugins settings tab. The tests do not work because files contained in the Installation zip file are not copied over in the target path upload/plugins/limeMpdf/views/subview/svg Manually installing those files from the zip resolved the problem. | ||||
Steps To Reproduce | Download the limeMpdf plugin installation file from https://dl.sondages.pro/limeMpdf.zip | ||||
Tags | No tags attached. | ||||
Bug heat | 12 | ||||
Complete LimeSurvey version number (& build) | Version 4.3.10+200812 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | irrelevant | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 7.3 | ||||
See issue SondagesPro issue https://gitlab.com/SondagesPro/coreAndTools/limeMpdf/-/issues/3 |
|
Hi , In LS4 Uploading SVG Files are restricted for security reasons .They files will be deleted after unzip. So the Plugin developper should replace the svg files (Even if the are integrated in a twig file) with png or jpeg files. But you have the possibility to upload it manually (At your own risk) to your own host. |
|
@eddylackmann : it's Plugins upload, not template upload … plugins upload alrteady allow PHP files … And here : it's twig file with svg content … |
|
I check : but bthhink rename .svg.twig to _svg.twig can work … |
|
@eddylackmann : i confirm : same file renamed with .svg.twig : it's OK.
|
|
You can not allow PHP (and js) file but not svg
It's false here : any file contain
We already show an alert about plugin : plugin contain PHP file . More risk than a XSS here … |
|
|
|
I the core problem related to the SVG or to the path settings? Because when uploading from a ZIP file the files get into a different folder /limesurvey/upload/... compared to uploading manually to /limesurvey/plugins which is the old, default plugin path e.g. at LS3.x. |
|
@mazi in LS4 the new publing path is located at /limesurvey/upload/plugings/ it can be the problem if you hardcoded the path in your code. |
|
Something i use a lot , in init See https://github.com/LimeSurvey/LimeSurvey/commit/09a17aa296b366103184e4bc957a297d65d8944c |
|
@DenisChenu yes i start to use it also ;) ! Thanx for the tip ;) |
|
The status on this issue is not clear to me. |
|
«plugin manager ommits installation of files in path upload/plugins/limeMpdf/views/subview/svg» svg file was deleted when use upload plugins system in 4.X Since plugin have php file : no reason to disable svg or any other file. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-08-24 12:42 | Dietrich Streifert | New Issue | |
2020-08-24 12:50 | Dietrich Streifert | Note Added: 59587 | |
2020-08-26 15:29 | cdorin | Assigned To | => LimeBot |
2020-08-26 15:29 | cdorin | Priority | none => normal |
2020-08-26 15:29 | cdorin | Status | new => confirmed |
2020-08-26 15:29 | cdorin | Zoho Sprints | => |Yes| |
2020-09-10 11:18 | LimeBot | Note Added: 59767 | |
2020-09-10 11:18 | LimeBot | Status | confirmed => acknowledged |
2020-09-15 16:42 | DenisChenu | Note Added: 59829 | |
2020-09-15 16:43 | DenisChenu | Note Edited: 59829 | |
2020-09-15 16:43 | DenisChenu | Issue Monitored: DenisChenu | |
2020-09-15 16:43 | DenisChenu | Note Added: 59830 | |
2020-09-17 16:07 | DenisChenu | Note Added: 59862 | |
2020-09-17 16:07 | DenisChenu | Status | acknowledged => feedback |
2020-09-17 16:10 | DenisChenu | Note Added: 59863 | |
2020-09-17 17:03 | DenisChenu | Note Added: 59864 | |
2020-09-17 17:03 | DenisChenu | File Added: svgPlugin.zip | |
2020-09-17 17:04 | DenisChenu | Note Added: 59865 | |
2020-09-17 17:04 | DenisChenu | File Added: Capture d’écran du 2020-09-17 17-04-02.png | |
2020-10-28 18:52 | LimeBot | Sync to Zoho Project | => |Yes| |
2020-10-29 09:20 | LimeBot | Sync to Zoho Project | Yes => |Yes| |
2020-10-29 09:24 | LimeBot | Sync to Zoho Project | Yes => |Yes| |
2020-12-07 10:25 | Mazi | Note Added: 60846 | |
2020-12-07 11:45 | LimeBot | Note Added: 60856 | |
2020-12-07 14:30 | DenisChenu | Note Added: 60857 | |
2020-12-07 17:35 | LimeBot | Note Added: 60858 | |
2021-03-19 09:53 | c_schmitz | Note Added: 63454 | |
2021-03-19 10:33 | DenisChenu | Note Added: 63463 |