View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 15946 | Bug reports | Survey taking | public | 2020-03-03 16:29 | 2020-04-17 09:38 |
| Reporter | lfanfoni | Assigned To | |||
| Priority | low | Severity | minor | ||
| Status | confirmed | Resolution | open | ||
| Product Version | 3.22.7 | ||||
| Summary | 15946: File upload question: cannot select csv file | ||||
| Description | When you define a "file upload" question allowing only csv file (upload1.png), the selection of a csv file returns an error (upload2.png). | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 8 | ||||
| Complete LimeSurvey version number (& build) | 3.22.7+200225 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | MariaDb | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 7.3.13 | ||||
|
Hmm, CSV is after all a text file: https://en.wikipedia.org/wiki/Comma-separated_values . Don't think this needs to be fixed + the workaround is just adding the txt in the corresponding question attribute. |
|
|
I have cheched that when the extension isn't known (by php.ini?), the application consider the extension as text/plain, and you cannot select even if considered as allowed. The only way for unknown extension is to add the txt extension. |
|
|
Maybe file upload need 2 params (or more) about allowed ? Complex since it's a potential security issue ..... |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-03-03 16:29 | lfanfoni | New Issue | |
| 2020-03-03 16:29 | lfanfoni | File Added: upload1.PNG | |
| 2020-03-03 16:29 | lfanfoni | File Added: upload2.PNG | |
| 2020-03-03 16:29 | lfanfoni | File Added: upload3.PNG | |
| 2020-03-03 16:29 | lfanfoni | File Added: upload4.PNG | |
| 2020-03-03 16:30 | lfanfoni | Issue Monitored: lfanfoni | |
| 2020-03-04 14:47 | cdorin | Note Added: 56297 | |
| 2020-03-04 14:48 | cdorin | Assigned To | => cdorin |
| 2020-03-04 14:48 | cdorin | Status | new => feedback |
| 2020-03-04 15:10 | lfanfoni | Note Added: 56298 | |
| 2020-03-04 15:10 | lfanfoni | Status | feedback => assigned |
| 2020-04-01 17:28 | cdorin | Assigned To | cdorin => |
| 2020-04-01 17:28 | cdorin | Priority | none => low |
| 2020-04-01 17:28 | cdorin | Status | assigned => confirmed |
| 2020-04-17 09:38 | DenisChenu | Note Added: 57210 |