Page MenuHomePhabricator

Error message when uploading files of the form file.exe.ogg is unhelpful.
Closed, ResolvedPublic

Description

Author: gmaxwell

Description:
When you upload a file named whatever.badextension.goodextension such as foo.exe.ogg or bar.php.jpg you get an error of the form:

".ogg" is an unwanted file type
List of allowed file types: png, gif, jpg, jpeg, xcf, pdf, mid, sxw, sxi, sxc, sxd, ogg, svg, djvu

This is confusing and not helpful. The expected behavior would at least be ".exe.ogg" is an unwanted file type, even smarter might just be to rename the file for the user.


Version: unspecified
Severity: minor

Details

Reference
bz11529

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:58 PM
bzimport set Reference to bz11529.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 11142 ***