View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022169 | mantisbt | attachments | public | 2017-01-11 10:10 | 2017-01-31 04:02 |
Reporter | matthiaspabst | Assigned To | atrol | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Mac | OS | macOS | OS Version | Sierra |
Product Version | 2.0.0 | ||||
Target Version | 2.1.0 | Fixed in Version | 2.1.0 | ||
Summary | 0022169: File upload not working when $g_allowed_files is set | ||||
Description | Since v2.0.0 I'm not able to upload any files, when $g_allowed_files is set in the config_inc.php. In the dropzone it shows an warning "Sie können diesen Dateityp nicht hochladen". When I disable this option, file upload works properly. | ||||
Tags | modern-ui | ||||
Attached Files | |||||
Same issue here. Found that adding a dot in front of the extension then dropzone allowed the file upload such as $g_allowed_files = ".ext1, .ext2, .ext3"; This does not follow the documentation as shown in 1.2/1.3 so not certain if this is different now in v2 or there is a bug here with passing the extension string to dropzone. |
|
Forgot quotes in the example, don't want to mess anyone up, quotes are needed: $g_allowed_files = ".ext1, .ext2, .ext3"; |
|
hum, okay quotes are getting removed when posting... maybe escaped? $g_allowed_files = \".ext1, .ext2, .ext3\"; or single: $g_allowed_files = '.ext1, .ext2, .ext3'; |
|
It's a bug
Known bug, see 0022179 |
|