Project

General

Profile

Bug #4793

Submitting png without filename extension causes website error

Added by Phil Adamson almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/14/2013
Due date:
% Done:

0%

Estimated time:
Duration:

Description

Take a .png. Rename it to "test" with no file extension. I suspect this makes firefox not tack on the right mime type, although the image window shows a preview of the image.

Now click submit, and enjoy your website error.

History

#1 Updated by Kyle Hazelwood over 5 years ago

I require a file extension and mimetype for file upload. Both the mimetype and file extension are used to compare the file type to a list of acceptable file types for the elog. However, due to the proxy address the error message that the server throws is caught by the divisions catch all generic error page!

#2 Updated by Kyle Hazelwood over 5 years ago

  • Status changed from New to Closed

I think I'll keep the extension requirement but will work on telling the user this requirement.



Also available in: Atom PDF