View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 18353 | Bug reports | Import/Export | public | 2022-09-15 12:40 | 2022-10-04 11:43 | 
| Reporter | EmilieClx | Assigned To | DenisChenu | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 5.3.x | ||||
| Summary | 18353: Unable to upload an xml file | ||||
| Description | As described on the French forum in the topic https://forums.limesurvey.org/forum/french-forum/128133-difficult%C3%A9s-avec-une-question-de-type-t%C3%A9l%C3%A9chargement, I read the doc manual.limesurvey.org/Questiontype-_File_upload. | ||||
| Steps To Reproduce | Steps to reproduceI created a question upload where the allowed filetype is xml. Expected resultupload an xml file Actual resultThe download is now possible but it seems that text/xml is not the official mimetype of xml : github.com/LimeSurvey/LimeSurvey/blob/32...eExtensions.php#L593 | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | LimeSurvey Community Edition Version 5.3.26+220720 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | MySQL | ||||
| Server OS (if known) | Your own server or LimeSurvey Cloud: debian 5.10.0-16-amd64 x86_64 | ||||
| Webserver software & version (if known) | |||||
| PHP Version | 7.4 | ||||
| related to | 18347 | closed | DenisChenu | Unable to check extension of this file type image/svg. | 
| Valid xml shown as text/xml in last debian :) | |
| I think @ollehar is not inclined for allowing XML uploads... am I right? | |
| It's not the point here. If you allow xml (via config.php) :  I just set text/xml as xml file. | |
| Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=33922 | |
| Fixed in Release 5.4.4+221004 | |
| LimeSurvey: master 0452b58f 2022-09-30 16:04 Committer: GitHub Details Diff | Fixed issue 18353: Unable to upload an xml file (#2613) * Dev: Code sniffer * Fixed issue 18353: Unable to upload an xml file * Fixed issue 18347: Unable to check extension of this file type image/svg. | Affected Issues 18347, 18353 | |
| mod - application/core/utils/fileExtensions.php | Diff File | ||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2022-09-15 12:40 | EmilieClx | New Issue | |
| 2022-09-15 12:54 | DenisChenu | Assigned To | => DenisChenu | 
| 2022-09-15 12:54 | DenisChenu | Status | new => assigned | 
| 2022-09-15 12:57 | DenisChenu | Relationship added | related to 18347 | 
| 2022-09-19 10:39 | DenisChenu | Note Added: 71811 | |
| 2022-09-19 10:39 | DenisChenu | File Added: note.xml | |
| 2022-09-19 10:39 | DenisChenu | Bug heat | 0 => 2 | 
| 2022-09-19 10:54 | DenisChenu | Assigned To | DenisChenu => | 
| 2022-09-19 10:54 | DenisChenu | Status | assigned => ready for code review | 
| 2022-09-19 10:55 | DenisChenu | Additional Information Updated | |
| 2022-09-19 10:55 | DenisChenu | Additional Information Updated | |
| 2022-09-19 10:55 | DenisChenu | Note Added: 71812 | |
| 2022-09-26 17:47 | gabrieljenik | Note Added: 71948 | |
| 2022-09-26 17:47 | gabrieljenik | Bug heat | 2 => 4 | 
| 2022-09-26 17:53 | DenisChenu | Note Added: 71949 | |
| 2022-09-26 17:54 | DenisChenu | Assigned To | => gabrieljenik | 
| 2022-09-26 20:30 | gabrieljenik | Assigned To | gabrieljenik => DenisChenu | 
| 2022-09-26 20:30 | gabrieljenik | Status | ready for code review => ready for testing | 
| 2022-09-27 10:40 | DenisChenu | Status | ready for testing => ready for merge | 
| 2022-09-29 09:27 | DenisChenu | Priority | none => normal | 
| 2022-09-29 09:28 | DenisChenu | Assigned To | DenisChenu => | 
| 2022-09-30 11:27 | pstelling | Assigned To | => pstelling | 
| 2022-09-30 11:28 | pstelling | Status | ready for merge => in testing | 
| 2022-09-30 14:04 | DenisChenu | Changeset attached | => LimeSurvey master 0452b58f | 
| 2022-09-30 14:04 | DenisChenu | Note Added: 72029 | |
| 2022-09-30 14:04 | DenisChenu | Assigned To | pstelling => DenisChenu | 
| 2022-09-30 14:04 | DenisChenu | Resolution | open => fixed | 
| 2022-09-30 14:37 | pstelling | Status | in testing => resolved | 
| 2022-10-04 11:43 | LimeBot | Note Added: 72063 | |
| 2022-10-04 11:43 | LimeBot | Status | resolved => closed | 
| 2022-10-04 11:43 | LimeBot | Bug heat | 4 => 6 | 



