Page MenuHomePhabricator

Feature request: Upload refuses if no file-extension is specified
Closed, DeclinedPublic

Description

Some users reported that if they forget to specify the file extension, they get the following message:

File extension does not match MIME type.

It would be nice to notify the user that he *forgot* to specify the extension - Or the more elegant solution, you add it automatically.

This shouldn't be difficult to implement.

Sincerely Rillke


Version: 1.17.x
Severity: enhancement

Details

Reference
bz29789

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:34 PM
bzimport set Reference to bz29789.
bzimport added a subscriber: Unknown Object (MLST).

It would be better the software automatically completes (directly) the correct file extension.

vivekee047 wrote:

(In reply to comment #0)

Some users reported that if they forget to specify the file extension, they get
the following message:

File extension does not match MIME type.

Can you please give an example.

When i try to upload a file without extension MW guesses the right extension and gives a warning

But for some MIME types there are no results while guessing the extensions..Thus we get an error

vivekee047 wrote:

(In reply to comment #3)

Hmm. Seems to work now...

Can you please mark it as resolved

(In reply to comment #4)
If I would know what has been changed so it's working now, I would point to the code-rev and mark it.

vivekee047 wrote:

I exactly dont know the changes,may be you would have tried some MIME type which the code couldnt guess.

Gilles triaged this task as Unbreak Now! priority.Dec 4 2014, 10:10 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Needs Triage.Dec 4 2014, 11:22 AM