View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19098 | Bug reports | Plugins | public | 2023-09-19 09:33 | 2024-02-26 13:52 |
Reporter | Mazi | Assigned To | c_schmitz | ||
Priority | none | Severity | block | ||
Status | closed | Resolution | fixed | ||
Product Version | 5.6.x | ||||
Summary | 19098: Add XSD files to allowed files for plugin uploads | ||||
Description | At the core config-defaults.php the following file types are allowed for plugin uploads: Especially for authentication plugins using SAML or similar technology, being able to include XSD files is essential. An XSD file is plain text and holds details about the elements and attributes that can be part of an XML document, see https://docs.fileformat.com/programming/xsd/ Please add XSD to the list of allowed file types so users can upload such plugins. | ||||
Steps To Reproduce | Steps to reproduceImport a plugin including an XSD file. Expected resultImport should work fine since XSD is essential for some plugins to work fine. Actual resultThe plugin can not be installed since XSD files are not yet allowed to be used. | ||||
Tags | No tags attached. | ||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 5.6.33+230808 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySQL | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | PHP 7.4 | ||||
@c_schmitz, according to @DenisChenu we already allow JS and PHP so compared to that allowing XSD should do no harm. Can we add this? |
|
yes, create a tiny PR. please. |
|
@c_schmitz, please find the requested pull request at https://github.com/LimeSurvey/LimeSurvey/pull/3497. Please merge into 3.x, 5.x and 6.x. Thanks! |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=35558 |
|
Fixed in Release 6.2.10+231004 |
|
Re-opening this one since the fix was only pushed to 6.x. @c_schmitz, can you pelase do me a favor and add the same fix to 5.x as well. For this version the bug report was initially opened because 6.x is not that widely used yet. Thanks! |
|
Added also to 5.x. |
|
Fixed in Release 5.6.56+240227 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-09-19 09:33 | Mazi | New Issue | |
2023-09-21 15:29 | Mazi | Note Added: 77223 | |
2023-09-21 15:29 | Mazi | Bug heat | 0 => 2 |
2023-09-21 15:56 | c_schmitz | Note Added: 77225 | |
2023-09-21 15:56 | c_schmitz | Bug heat | 2 => 4 |
2023-09-28 12:34 | bismark | Note Added: 77394 | |
2023-09-28 12:34 | bismark | Bug heat | 4 => 6 |
2023-09-28 14:23 | Mazi | Assigned To | => c_schmitz |
2023-09-28 14:23 | Mazi | Status | new => assigned |
2023-09-28 14:24 | Mazi | Note Added: 77401 | |
2023-09-28 14:40 | bismark | Changeset attached | => LimeSurvey master 6d8bd27f |
2023-09-28 14:40 | guest | Note Added: 77404 | |
2023-09-28 14:40 | guest | Bug heat | 6 => 8 |
2023-10-04 11:28 | LimeBot | Note Added: 77496 | |
2023-10-04 11:28 | guest | Bug heat | 8 => 10 |
2023-10-04 11:28 | LimeBot | Status | assigned => closed |
2023-10-04 11:28 | LimeBot | Resolution | open => fixed |
2023-10-13 15:21 | Mazi | Status | closed => feedback |
2023-10-13 15:21 | Mazi | Resolution | fixed => reopened |
2023-10-13 15:21 | Mazi | Note Added: 77694 | |
2023-10-13 15:42 | tibor.pacalat | Status | feedback => assigned |
2024-02-26 09:18 | c_schmitz | Status | assigned => resolved |
2024-02-26 09:18 | c_schmitz | Resolution | reopened => fixed |
2024-02-26 09:18 | c_schmitz | Note Added: 79621 | |
2024-02-26 13:52 | LimeBot | Note Added: 79640 | |
2024-02-26 13:52 | LimeBot | Status | resolved => closed |