View Issue Details

IDProjectCategoryView StatusLast Update
0015316mantisbtattachmentspublic2013-10-24 10:27
Reporterj_schultz Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status acknowledgedResolutionopen 
Product Version1.2.12 
Summary0015316: Show list of supported attachment extensions next to upload field
Description

Right now, the maximum supported file size is already displayed next to the attachment upload field. However, people very often try to upload unsupported file types to my issue tracker and then accidentally submit the issue twice (probably because they use the browser's back button, attach a different file and then submit the issue again). I guess it would be really helpful to know in advance which file types are supported, so if an extension filter is set up in the configuration file, it should probably be displayed on the form as well.

TagsNo tags attached.

Activities

j_schultz

j_schultz

2013-10-24 10:26

reporter   ~0038342

Last edited: 2013-10-24 10:27

In addition to displaying allowed extensions, it might also be worth to check the extension of a selected file using JavaScript (I think the upload field's "value" attribute should contain the name) and match it against the allowed file extensions - and if it doesn't match, don't let the user submit the form.

This is by far the most common error users make on my issue trackers, it happens very regularly, so it would be nice if this issue could be addressed. It's clearly a problem with the UI and the program itself, since so many people make the same mistake.