View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
18398Feature requestsSurvey editingpublic2022-10-05 12:57
ReporterJmantysalo Assigned Toollehar  
PrioritynoneSeverityfeature 
Status assignedResolutionopen 
Summary18398: Allow file upload without restrictions
Description

Allow uploading any file without restrictions. And yes, I mean even .js, .exe and so on. The setting could be something like "*" or "allow-all" in the list of allowed types.

TagsNo tags attached.
Bug heat4
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2022-10-05 11:04

administrator   ~72096

Change your config files? There are setting there for which files you allow.

Jmantysalo

Jmantysalo

2022-10-05 11:06

reporter   ~72097

Change your config files? There are setting there for which files you allow.

Was in 3.x, I think. Is still in 5.x?

ollehar

ollehar

2022-10-05 11:10

administrator   ~72099

I'm not aware than any config changed in that regard.

allowedfileuploads

application/config/config-defaults.php

Jmantysalo

Jmantysalo

2022-10-05 11:33

reporter   ~72101

Ah, OK. This is still there, and

$config['allowedfileuploads'] = [''];

seems to allow the user to allow any file type he/she wants to enable (but actually do not). But still there is no way to allow uploading whatever, without before information about files that could be uploaded.

ollehar

ollehar

2022-10-05 11:34

administrator   ~72102

Not sure I'd prefer such a feature to exist... It's good to be explicit.

Jmantysalo

Jmantysalo

2022-10-05 12:57

reporter   ~72104

Of course, but let's say you collect short videos with Lime. You have added .mp4 and some other formats to allowed types. Then Apple invents a new format and participants will wonder what happened.

(Slightly related: extension vs. mime-type is not so clear. To accept very old .doc-files containing plain text you must add .txt to the list of allowed types.)

Issue History

Date Modified Username Field Change
2022-10-05 07:27 Jmantysalo New Issue
2022-10-05 11:04 ollehar Note Added: 72096
2022-10-05 11:04 ollehar Bug heat 0 => 2
2022-10-05 11:04 ollehar Assigned To => ollehar
2022-10-05 11:04 ollehar Status new => feedback
2022-10-05 11:06 Jmantysalo Note Added: 72097
2022-10-05 11:06 Jmantysalo Bug heat 2 => 4
2022-10-05 11:06 Jmantysalo Status feedback => assigned
2022-10-05 11:10 ollehar Note Added: 72099
2022-10-05 11:33 Jmantysalo Note Added: 72101
2022-10-05 11:34 ollehar Note Added: 72102
2022-10-05 12:57 Jmantysalo Note Added: 72104